Skip to content

Commit

Permalink
refactor: remove unnecessary type overwrite
Browse files Browse the repository at this point in the history
  • Loading branch information
trezy committed Jul 25, 2024
1 parent 9cf1fdb commit 97286c1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/typedefs/PixiReactNode.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,6 @@ export type PixiReactNode<T extends new (...args: any) => any = typeof Container
& EventHandlers
& {
[K in keyof InstanceType<T> as K]: K extends keyof BaseNodeProps<InstanceType<T>>
? BaseNodeProps<InstanceType<T>>[K]
? never
: InstanceType<T>[K];
};

0 comments on commit 97286c1

Please sign in to comment.