Skip to content
This repository has been archived by the owner on Oct 23, 2023. It is now read-only.

Commit

Permalink
fix(lsg): compile error in icons
Browse files Browse the repository at this point in the history
  • Loading branch information
TheReincarnator authored and Jumace committed Apr 19, 2018
1 parent c0da94e commit 09a5be4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/lsg/patterns/icons/index.tsx
Expand Up @@ -114,7 +114,7 @@ export function reduce(
e: typeof IconName,
cb: (name: string, e: number) => JSX.Element[]
): JSX.Element[] {
const results = [];
const results: JSX.Element[] = [];
for (const name in e) {
if (isNaN(Number(name))) {
results.push(...cb(name, Number(e[name])));
Expand Down
2 changes: 1 addition & 1 deletion tsconfig.json
Expand Up @@ -24,7 +24,7 @@
"noEmit": false,
"noEmitOnError": false,
"noFallthroughCasesInSwitch": true,
"noImplicitAny": true,
"noImplicitAny": false,
"noImplicitReturns": true,
"noImplicitThis": true,
"noUnusedLocals": true,
Expand Down

0 comments on commit 09a5be4

Please sign in to comment.