Skip to content

Commit

Permalink
fix(icon): generate name as type any
Browse files Browse the repository at this point in the history
  • Loading branch information
nivekcode committed Mar 5, 2020
1 parent c10d322 commit 08bd563
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/generators/code-snippet-generators.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ export const generateUntypedSvgConstant = (
filenameWithoutEnding: string,
data: string
): string => {
return `export const ${variableName} = {
return `export const ${variableName}: {name: any, data: string} = {
name: '${filenameWithoutEnding}',
data: '${data}'
};`;
Expand Down

0 comments on commit 08bd563

Please sign in to comment.