Skip to content

Commit 714b511

Browse files
authored
Merge pull request nullstack#366 from GuiDevloper/types-improvements
Add specific types to JSX Attributes['bind']
2 parents 56e40c4 + 275fd5d commit 714b511

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

types/JSX.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ type Booleanish = boolean | 'true' | 'false'
4747
export interface Attributes<HTMLElementType = unknown> {
4848
html?: string
4949
source?: object
50-
bind?: any
50+
bind?: NullstackClientContext['bind'] | string | number | boolean
5151
debounce?: number
5252
ref?: HTMLElementType | ((context?: Partial<NullstackClientContext>) => void) | NullstackClientContext['ref']
5353
'data-'?: any

0 commit comments

Comments
 (0)