Skip to content

Commit

Permalink
TypeScript v5.4
Browse files Browse the repository at this point in the history
  • Loading branch information
surol committed Mar 17, 2024
1 parent f31ff15 commit 67f4812
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
12 changes: 6 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
"sideEffects": false,
"peerDependencies": {
"rollup": "2.79.1 - 5.0",
"typescript": "4.8.4 - 5.4"
"typescript": "4.8.4 - 5.5"
},
"peerDependenciesMeta": {
"rollup": {
Expand All @@ -57,13 +57,13 @@
"devDependencies": {
"@jest/globals": "^29.7.0",
"@rollup/plugin-typescript": "^11.1.6",
"@run-z/eslint-config": "^3.5.0",
"@run-z/eslint-config": "^4.0.0",
"@run-z/prettier-config": "^2.0.0",
"@types/is-glob": "^4.0.4",
"@types/micromatch": "^4.0.6",
"@types/node": "^18.19.24",
"@typescript-eslint/eslint-plugin": "^6.21.0",
"@typescript-eslint/parser": "^6.21.0",
"@types/node": "^20.11.28",
"@typescript-eslint/eslint-plugin": "^7.2.0",
"@typescript-eslint/parser": "^7.2.0",
"eslint": "^8.57.0",
"eslint-plugin-jest": "^27.9.0",
"gh-pages": "^6.1.1",
Expand All @@ -77,7 +77,7 @@
"ts-jest": "^29.1.2",
"tslib": "^2.6.2",
"typedoc": "^0.25.12",
"typescript": "~5.3.3"
"typescript": "~5.4.2"
},
"scripts": {
"all": "run-z +z build,lint,test",
Expand Down
2 changes: 1 addition & 1 deletion src/plugin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ export default function flatDtsPlugin(dtsOptions?: FlatDts.Options): OutputPlugi

if (dir != null) {
dtsOptions = dtsOptionsRelativeToDir(dir, dtsOptions);
assetPath = filePath => relative(dir as string, filePath);
assetPath = filePath => relative(dir, filePath);
}

const dts = await emitFlatDts(dtsOptions);
Expand Down

0 comments on commit 67f4812

Please sign in to comment.