diff --git a/.changeset/giant-shirts-reflect.md b/.changeset/giant-shirts-reflect.md new file mode 100644 index 0000000..1430c16 --- /dev/null +++ b/.changeset/giant-shirts-reflect.md @@ -0,0 +1,5 @@ +--- +"@total-typescript/tsconfig": major +--- + +Enable erasableSyntaxOnly by default diff --git a/bundler/dom.json b/bundler/dom.json index fdcc491..19d5b1d 100644 --- a/bundler/dom.json +++ b/bundler/dom.json @@ -11,6 +11,7 @@ "verbatimModuleSyntax": true, /* Strictness */ "strict": true, + "erasableSyntaxOnly": true, "noUncheckedIndexedAccess": true, "noImplicitOverride": true, /* If NOT transpiling with TypeScript: */ diff --git a/bundler/no-dom.json b/bundler/no-dom.json index 1158b25..3ad3cc8 100644 --- a/bundler/no-dom.json +++ b/bundler/no-dom.json @@ -11,6 +11,7 @@ "verbatimModuleSyntax": true, /* Strictness */ "strict": true, + "erasableSyntaxOnly": true, "noUncheckedIndexedAccess": true, "noImplicitOverride": true, /* If NOT transpiling with TypeScript: */ diff --git a/tsc/dom/app.json b/tsc/dom/app.json index 5039dd7..b46acca 100644 --- a/tsc/dom/app.json +++ b/tsc/dom/app.json @@ -11,6 +11,7 @@ "verbatimModuleSyntax": true, /* Strictness */ "strict": true, + "erasableSyntaxOnly": true, "noUncheckedIndexedAccess": true, "noImplicitOverride": true, /* If transpiling with TypeScript: */ diff --git a/tsc/dom/library-monorepo.json b/tsc/dom/library-monorepo.json index 3d651db..16ce8b8 100644 --- a/tsc/dom/library-monorepo.json +++ b/tsc/dom/library-monorepo.json @@ -11,6 +11,7 @@ "verbatimModuleSyntax": true, /* Strictness */ "strict": true, + "erasableSyntaxOnly": true, "noUncheckedIndexedAccess": true, "noImplicitOverride": true, /* If transpiling with TypeScript: */ diff --git a/tsc/dom/library.json b/tsc/dom/library.json index f63589a..d43061a 100644 --- a/tsc/dom/library.json +++ b/tsc/dom/library.json @@ -11,6 +11,7 @@ "verbatimModuleSyntax": true, /* Strictness */ "strict": true, + "erasableSyntaxOnly": true, "noUncheckedIndexedAccess": true, "noImplicitOverride": true, /* If transpiling with TypeScript: */ diff --git a/tsc/no-dom/app.json b/tsc/no-dom/app.json index aeb8369..a3a58db 100644 --- a/tsc/no-dom/app.json +++ b/tsc/no-dom/app.json @@ -11,6 +11,7 @@ "verbatimModuleSyntax": true, /* Strictness */ "strict": true, + "erasableSyntaxOnly": true, "noUncheckedIndexedAccess": true, "noImplicitOverride": true, /* If transpiling with TypeScript: */ diff --git a/tsc/no-dom/library-monorepo.json b/tsc/no-dom/library-monorepo.json index f62386a..fd0aeea 100644 --- a/tsc/no-dom/library-monorepo.json +++ b/tsc/no-dom/library-monorepo.json @@ -11,6 +11,7 @@ "verbatimModuleSyntax": true, /* Strictness */ "strict": true, + "erasableSyntaxOnly": true, "noUncheckedIndexedAccess": true, "noImplicitOverride": true, /* If transpiling with TypeScript: */ diff --git a/tsc/no-dom/library.json b/tsc/no-dom/library.json index d10ca1a..6503ee8 100644 --- a/tsc/no-dom/library.json +++ b/tsc/no-dom/library.json @@ -11,6 +11,7 @@ "verbatimModuleSyntax": true, /* Strictness */ "strict": true, + "erasableSyntaxOnly": true, "noUncheckedIndexedAccess": true, "noImplicitOverride": true, /* If transpiling with TypeScript: */