Skip to content

Commit

Permalink
fix: enforce valid extensions are passed to extensions prop
Browse files Browse the repository at this point in the history
  • Loading branch information
trezy committed Aug 26, 2024
1 parent 09d0ca9 commit 2f5f256
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/typedefs/ApplicationProps.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import type {
Application,
ApplicationOptions,
ExtensionFormatLoose,
TextStyle,
TextStyleOptions,
} from 'pixi.js';
Expand All @@ -25,7 +26,7 @@ export interface BaseApplicationProps
defaultTextStyle?: TextStyle | TextStyleOptions,

/** @description An array of Pixi extensions to be loaded before initialisation. */
extensions?: any[],
extensions?: ExtensionFormatLoose[],

/** @description A unique key which allows React to manage this component across changes in parent state. */
key?: Key,
Expand Down

0 comments on commit 2f5f256

Please sign in to comment.