fix: restore Typescript intellisense (#1110)

pull/1115/head
Brian Gradin 11 months ago committed by GitHub
parent d3ea2cb067
commit 58a013bdfc
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -100,7 +100,7 @@ export function jsx(
}
// See https://www.typescriptlang.org/docs/handbook/jsx.html#type-checking
export namespace jsx {
namespace JSXTypes {
export type Element = VNode;
/*
@ -142,3 +142,9 @@ export namespace jsx {
[elemName: string]: VNodeData;
}
}
export namespace jsx {
export namespace JSX {
export interface IntrinsicElements extends JSXTypes.IntrinsicElements {}
}
}

Loading…
Cancel
Save