# applyDefaults (/docs/api/functions/applyDefaults)



```ts
function applyDefaults(
   job, 
   defaults, 
   allowedKeys?): string[];
```

Defined in: [packages/core/src/passes/jobDefaults.ts:104](https://github.com/austenstone/actio/blob/2b01e694a0f76521d8c073f3c6a2e48917d2c9d9/packages/core/src/passes/jobDefaults.ts#L104)

## Parameters [#parameters]

### job [#job]

[`Job`](../interfaces/Job.mdx)

### defaults [#defaults]

`Record`\<`string`, `unknown`>

### allowedKeys? [#allowedkeys]

`Set`\<`string`>

## Returns [#returns]

`string`\[]


## Sitemap

Browse the full documentation: [Markdown sitemap](https://austenstone.github.io/actio/sitemap.md) · [XML sitemap](https://austenstone.github.io/actio/sitemap.xml)