Skip to content

Commit

Permalink
fixup! Feat(typescript-config): Introduce sharable TypeScript configu…
Browse files Browse the repository at this point in the history
…ration
  • Loading branch information
literat committed Dec 5, 2024
1 parent c74f436 commit 6c6be31
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
5 changes: 5 additions & 0 deletions packages/form-validations/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,12 @@
{
"extends": "../../configs/typescript-config-spirit/dom",
"compilerOptions": {
// Specify an output folder for all emitted files.
// @see: https://www.typescriptlang.org/tsconfig/#outDir
"outDir": "./dist/js",

// Enable error reporting when 'this' is given the type 'any'.
// @see: https://www.typescriptlang.org/tsconfig/#noImplicitThis
"noImplicitThis": false
},
"include": ["./src/**/*"],
Expand Down
7 changes: 7 additions & 0 deletions packages/web-react/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,15 @@
"extends": "../../configs/typescript-config-spirit/dom",
"compilerOptions": {
// Specify what JSX code is generated.
// @see: https://www.typescriptlang.org/tsconfig/#jsx
"jsx": "react",

// Specify what module code is generated.
// @see: https://www.typescriptlang.org/tsconfig/#module
"module": "nodenext",

// Specify how TypeScript looks up a file from a given module specifier.
// @see: https://www.typescriptlang.org/tsconfig/#moduleResolution
"moduleResolution": "nodenext"
},
"include": ["./src/**/*"],
Expand Down

0 comments on commit 6c6be31

Please sign in to comment.