diff options
| author | Michael Williamson <mike@zwobble.org> | 2026-08-30 11:17:45 +0100 |
|---|---|---|
| committer | Michael Williamson <mike@zwobble.org> | 2026-08-30 11:17:45 +0100 |
| commit | a7d5133ac7cc82e3826f90d2e5f1ca5cd3f08676 (patch) | |
| tree | da8fa4c132bef9bc34788c2dd817bf7b13c87767 /examples/templates | |
| parent | 9de4242330fe137133327533f24073613da8d201 (diff) | |
Export generated TypeScript classes in typescript-types
Diffstat (limited to 'examples/templates')
| -rw-r--r-- | examples/templates/typescript/package.json | 1 | ||||
| -rw-r--r-- | examples/templates/typescript/tsconfig.json | 5 |
2 files changed, 4 insertions, 2 deletions
diff --git a/examples/templates/typescript/package.json b/examples/templates/typescript/package.json index b2bd443..9732b10 100644 --- a/examples/templates/typescript/package.json +++ b/examples/templates/typescript/package.json @@ -10,6 +10,7 @@ }, "devDependencies": { "@types/mocha": "^10.0.10", + "@types/node": "^26.4.0", "mocha": "^11.8.0", "typescript": "^7.0.2" } diff --git a/examples/templates/typescript/tsconfig.json b/examples/templates/typescript/tsconfig.json index 6a4848a..da0f363 100644 --- a/examples/templates/typescript/tsconfig.json +++ b/examples/templates/typescript/tsconfig.json @@ -3,7 +3,7 @@ "compilerOptions": { "module": "nodenext", "target": "esnext", - "types": [], + "types": ["node"], "sourceMap": true, "declaration": true, "declarationMap": true, @@ -16,6 +16,7 @@ "noUncheckedSideEffectImports": true, "moduleDetection": "force", "skipLibCheck": true, - "erasableSyntaxOnly": true + "erasableSyntaxOnly": true, + "allowImportingTsExtensions": true } } |
