Skip to content

Commit cffa876

Browse files
committed
allow false, null, undefined as array element
1 parent 661e78e commit cffa876

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

jsx.d.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,8 @@ export namespace JSX {
2929
| Attribute
3030
| { [className: string]: unknown|Supplier<unknown> }
3131
| Array<
32-
string
33-
| Supplier<string>
32+
string|false|null|undefined
33+
| Supplier<string|false|null|undefined>
3434
| { [className: string]: unknown|Supplier<unknown> }
3535
>,
3636
style?:
@@ -60,8 +60,8 @@ export namespace JSX {
6060
// class attribute
6161
| { [className: string]: unknown|Supplier<unknown> }
6262
| Array<
63-
string
64-
| Supplier<string>
63+
string|false|null|undefined
64+
| Supplier<string|false|null|undefined>
6565
| { [className: string]: unknown|Supplier<unknown> }
6666
>
6767

0 commit comments

Comments
 (0)