Skip to content

Commit

Permalink
fix tsconfig module (#7)
Browse files Browse the repository at this point in the history
* fix tsconfig module

* Update index.ts

* Update index.ts
  • Loading branch information
guoyunhe committed Mar 24, 2024
1 parent 88dd7b1 commit 365116f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/patchers/update_module_system/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,9 @@ export class UpdateModuleSystem extends BasePatcher {

tsConfig.compilerOptions.strictPropertyInitialization = false

delete tsConfig.compilerOptions.module
delete tsConfig.compilerOptions.moduleResolution

await this.runner.tsConfigFile.save()
this.logger.info('Updated tsconfig.json with new extends and types')
}
Expand Down

0 comments on commit 365116f

Please sign in to comment.