Skip to content

Commit

Permalink
fix(constants): default options with omit instead of partial
Browse files Browse the repository at this point in the history
  • Loading branch information
casaper committed Dec 22, 2020
1 parent e0e692a commit e47c2ac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { FontAssetType, OtherAssetType } from './types/misc';

export const TEMPLATES_DIR = resolve(__dirname, '../templates');

export const DEFAULT_OPTIONS: Partial<RunnerOptions> = {
export const DEFAULT_OPTIONS: Omit<RunnerOptions, 'inputDir' | 'outputDir'> = {
name: 'icons',
fontTypes: [FontAssetType.EOT, FontAssetType.WOFF2, FontAssetType.WOFF],
assetTypes: [
Expand Down

0 comments on commit e47c2ac

Please sign in to comment.