Skip to content

Commit

Permalink
update compiler options
Browse files Browse the repository at this point in the history
  • Loading branch information
Adammatthiesen committed Nov 24, 2024
1 parent c065071 commit 7733cb8
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions www/docs/ec.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,14 @@ export default defineEcConfig({
ecTwoSlash({
twoslashOptions: {
compilerOptions: {
strict: true,
moduleResolution: 100,
target: ts.ScriptTarget.ES2022,
exactOptionalPropertyTypes: true,
downlevelIteration: true,
skipLibCheck: true,
lib: ['ES2022', 'DOM', 'DOM.Iterable'],
noEmit: true,
},
},
}),
Expand Down

0 comments on commit 7733cb8

Please sign in to comment.