Skip to content

Commit

Permalink
fix typescript definition
Browse files Browse the repository at this point in the history
  • Loading branch information
kamijin-fanta committed Jan 11, 2024
1 parent 096eef4 commit d23f746
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/react-icons/scripts/task_all.ts
Expand Up @@ -38,7 +38,7 @@ export async function dirInit({ DIST, LIB, rootDir }: TaskContext) {
);
await write(
[icon.id, "index.d.ts"],
"// THIS FILE IS AUTO GENERATED\nimport { IconTree, IconType } from '../lib/index.mjs'\n",
"// THIS FILE IS AUTO GENERATED\nimport type { IconType } from '../lib/index'\n",
);
await write(
[icon.id, "package.json"],
Expand Down

0 comments on commit d23f746

Please sign in to comment.