mirror of
https://github.com/ionic-team/ionicons.git
synced 2026-12-01 16:56:28 +01:00
chore(): fix types
This commit is contained in:
+2
-2
@@ -83,9 +83,9 @@ fs.writeFileSync(DST_ESM, finalFile);
|
||||
|
||||
|
||||
const finalDts = `
|
||||
export interface IconMap {
|
||||
export type IconMap = {
|
||||
${iconData.map(({name}) => ` '${name}': string;`).join('\n')}
|
||||
}
|
||||
};
|
||||
|
||||
export type IconNames = keyof IconMap;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user