Skip to content

Commit bd6a911

Browse files
committed
Updated Typescript config
1 parent 66d7b37 commit bd6a911

3 files changed

Lines changed: 11 additions & 5 deletions

File tree

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
99

1010
### Updated
1111
- Dependency Updates
12+
- Typescript config
1213

1314
## [4.18.4] - 2025-03-16
1415

tsconfig.json

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,14 @@
11
{
22
"compilerOptions": {
3-
"target": "esnext",
3+
"target": "ES2023",
4+
"lib": ["ES2023"],
45
"module": "NodeNext",
5-
"moduleResolution": "nodenext",
6-
"declaration": true,
7-
"outDir": "./dist",
6+
"moduleResolution": "NodeNext",
7+
"noEmit": true,
88
"allowImportingTsExtensions": true,
99
"esModuleInterop": true,
1010
"forceConsistentCasingInFileNames": true,
11+
"types": ["node"],
1112
"strict": true,
1213
"skipLibCheck": true,
1314
"isolatedModules": true

tsup.config.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,11 @@ export default defineConfig({
88
'src/bin/gtfsrealtime-update.ts',
99
'src/models/models.ts',
1010
],
11-
dts: true,
11+
dts: {
12+
compilerOptions: {
13+
ignoreDeprecations: '6.0',
14+
},
15+
},
1216
clean: true,
1317
format: ['esm'],
1418
splitting: false,

0 commit comments

Comments
 (0)