chore(): fix types

This commit is contained in:
Manu Mtz.-Almeida
2018-12-12 23:14:35 +01:00
parent 33e9d3a125
commit 6b324459ee
+2 -2
View File
@@ -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;