Skip to content

Commit

Permalink
fix: types
Browse files Browse the repository at this point in the history
  • Loading branch information
nikkeyl committed Aug 24, 2024
1 parent 2c146a2 commit 1c9e11f
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
"types": "index.d.ts",
"imports": {
"#src": "./src/index.ts",
"#types": "./src/types/index.d.ts"
"#types": "./src/types/index.ts"
},
"exports": {
".": "./index.js"
Expand Down
2 changes: 1 addition & 1 deletion rollup.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ export default defineConfig([
entries: [
{
find: '#types',
replacement: resolve(`${typesFolder}/${declarationFile}`),
replacement: resolve(`${typesFolder}/${indexFile}`),
},
],
}),
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion src/types/user-config.d.ts → src/types/user-config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@ interface UserConfig extends Options {
preset?: string;
}

export { UserConfig };
export type { UserConfig };

0 comments on commit 1c9e11f

Please sign in to comment.