@@ -9,7 +9,7 @@ export type NodeClass = {
|
|||||||
}[keyof typeof Godot]
|
}[keyof typeof Godot]
|
||||||
|
|
||||||
export type GodotIntrinsicElements = {
|
export type GodotIntrinsicElements = {
|
||||||
[K in NodeClass as PascalToCamel<K>]: PropsFromInstance<InstanceType<(typeof Godot)[K]>>
|
[K in NodeClass as PascalToCamel<K>]: React.JSX.IntrinsicAttributes & PropsFromInstance<InstanceType<(typeof Godot)[K]>>
|
||||||
} & {
|
} & {
|
||||||
element: {
|
element: {
|
||||||
class: new (...args: any[]) => Godot.Node
|
class: new (...args: any[]) => Godot.Node
|
||||||
|
|||||||
Reference in New Issue
Block a user