import { type GraphicsContext, type Texture } from 'pixi.js'; import { type ConstructorOverrides } from './ConstructorOverrides'; type ConstructorOptionExcludes = GraphicsContext | Texture; /** * We're adding a specific options type overrides for some components because their deprecated overloads get in the way. * @see https://github.com/pixijs/pixi-react/issues/500 */ export type ConstructorOptions any> = Extract extends [T, infer R] ? unknown extends R ? NonNullable[0], ConstructorOptionExcludes>> : R : unknown; export {};