Skip to content

Commit

Permalink
typing: return JSX.Element for registry.styles (#759)
Browse files Browse the repository at this point in the history
  • Loading branch information
huozhi committed Jan 20, 2022
1 parent 6e224a9 commit 9951745
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ declare module 'react' {
}

export type StyleRegistry = {
styles(options?: { nonce?: boolean }): JSX.Element
styles(options?: { nonce?: boolean }): JSX.Element[]
flush(): void
add(props: any): void
remove(props: any): void
Expand Down

0 comments on commit 9951745

Please sign in to comment.