Skip to content

Commit

Permalink
chore(types): remove all any types (#9)
Browse files Browse the repository at this point in the history
  • Loading branch information
ayushmanchhabra authored Feb 24, 2022
1 parent 0e37255 commit 2f630eb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/createElement.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
const createElement = (tag: string | (() => Node), props: null | { [key: string]: any }, ...children: Array<string | Node>): Node => {
const createElement = (tag: string | (() => Node), props: null | { [key: string]: unknown }, ...children: Array<string | Node>): Node => {
if (typeof tag !== 'string') {
return tag()
}
Expand Down

0 comments on commit 2f630eb

Please sign in to comment.