Skip to content

Commit

Permalink
fix: types
Browse files Browse the repository at this point in the history
  • Loading branch information
peterphanouvong committed Nov 8, 2023
1 parent 430ae74 commit ae5673a
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions rollup.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ export default [
serverConfig,
componentsConfig,
{
input: './types.d.ts',
output: [{file: 'dist/types.d.ts', format: 'es'}],
input: './dist/types/index.d.ts',
output: [{file: 'dist/index.d.ts', format: 'es'}],
plugins: [dts()]
}
];
2 changes: 1 addition & 1 deletion src/utils/version.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
// Types should go into this directory.
// Removing this would place the .d.ts files
// next to the .js files
"outDir": "dist",
"outDir": "dist/types",
// go to js file when using IDE functions like
// "Go to Definition" in VSCode
"declarationMap": true,
Expand Down

0 comments on commit ae5673a

Please sign in to comment.