Skip to content

Commit

Permalink
Fix declaration types for TypeScript support
Browse files Browse the repository at this point in the history
  • Loading branch information
Gorniaky committed Mar 24, 2022
1 parent 6371c3b commit a855cea
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion lib/replacePaths.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ Object.entries(pathAliases).forEach(([key, value]) => {
});

const options = {
files: ['dist/**/*.js'],
files: ['dist/**/*.@(j|t)s'],
from,
to: (...args) => {
const [match, , , filename] = args;
Expand Down
5 changes: 2 additions & 3 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,7 @@
"@tictactoe/*": ["src/tictactoe/*"]
},
"incremental": true,
"declaration": true,
"declarationMap": true
"declaration": true
},
"include": ["src/**/*", "bin/**/*", "tsconfig.json"]
"include": ["src/**/*", "bin/**/*"]
}

0 comments on commit a855cea

Please sign in to comment.