@@ -9,7 +9,7 @@ export type NodeClass = {
|
||||
}[keyof typeof Godot]
|
||||
|
||||
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: {
|
||||
class: new (...args: any[]) => Godot.Node
|
||||
|
||||
Reference in New Issue
Block a user