mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
It's required to exclude `number` type from `keyof JSX.IntrinsicElements` because of the case when `JSX.IntrinsicElements` has some additional declarations with indexer type, for example
```
declare namespace JSX {
interface IntrinsicElements extends JSX.IntrinsicElements {
[name: string]: SomeJSXElementType;
}
}
```
|
||
|---|---|---|
| .. | ||
| test | ||
| v15 | ||
| experimental.d.ts | ||
| global.d.ts | ||
| index.d.ts | ||
| OTHER_FILES.txt | ||
| package.json | ||
| tsconfig.json | ||
| tslint.json | ||