Skip to content

Commit

Permalink
fix: use correct typings for config:init command
Browse files Browse the repository at this point in the history
  • Loading branch information
connorjburton committed Sep 22, 2022
1 parent 54b0682 commit 8709126
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cli/config/init.ts
Expand Up @@ -89,7 +89,7 @@ export const run: CliCommand = async (args: CliCommandArgs /* , logger: Logger *
if (!jestPreset) {
content.push(`${preset.jsImport('tsjPreset')};`, '')
}
content.push(`/** @type {import('ts-jest/dist/types').InitialOptionsTsJest} */`)
content.push(`/** @type {import('ts-jest').JestConfigWithTsJest} */`)
content.push('module.exports = {')
if (jestPreset) {
content.push(` preset: '${preset.name}',`)
Expand Down

0 comments on commit 8709126

Please sign in to comment.