Skip to content

Commit

Permalink
feat(config): support typed config options for jest config typescript (
Browse files Browse the repository at this point in the history
  • Loading branch information
ahnpnl authored Feb 8, 2021
1 parent b8d5d20 commit f4f5d32
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -154,6 +154,14 @@ export interface TsJestGlobalOptions {
stringifyContentPathRegex?: string | RegExp
}

export interface GlobalConfigTsJest extends Config.ConfigGlobals {
'ts-jest': TsJestGlobalOptions
}

export interface InitialOptionsTsJest extends Config.InitialOptions {
globals?: GlobalConfigTsJest
}

interface TsJestConfig$tsConfig$file {
kind: 'file'
value: string | undefined
Expand Down

0 comments on commit f4f5d32

Please sign in to comment.