Commit f1fc00b
committed
fix: refactor TypeScript declaration file for
The script `npm run dtslint` was returning the error:
```
ERROR: 5:1 expect TypeScript@next expected type to be:
string | DetailedReactHTMLElement<{}, HTMLElement> | DetailedReactHTMLElement<{}, HTMLElement>[]
got:
string | ReactElement | ReactElement[]
```index.d.ts
1 parent b49ee28 commit f1fc00b
1 file changed
+6
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
9 | | - | |
10 | | - | |
11 | | - | |
12 | 8 | | |
13 | 9 | | |
14 | 10 | | |
| |||
24 | 20 | | |
25 | 21 | | |
26 | 22 | | |
27 | | - | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
28 | 29 | | |
29 | | - | |
30 | 30 | | |
0 commit comments