-
-
Notifications
You must be signed in to change notification settings - Fork 180
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #524 from thejustinwalsh/beta-constructor-overrides
fix: add missing constructor overrides; remove redundant overrides
- Loading branch information
Showing
1 changed file
with
29 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1,35 @@ | ||
import type { | ||
AlphaFilter, | ||
AlphaFilterOptions, | ||
BlurFilter, | ||
BlurFilterOptions, | ||
BlurFilterPass, | ||
BlurFilterPassOptions, | ||
DisplacementFilter, | ||
DisplacementFilterOptions, | ||
Filter, | ||
FilterOptions, | ||
NoiseFilter, | ||
NoiseFilterOptions, | ||
Text, | ||
TextOptions, | ||
import { | ||
type BitmapText, | ||
type BlurFilter, | ||
type BlurFilterOptions, | ||
type DisplacementFilter, | ||
type DisplacementFilterOptions, | ||
type HTMLText, | ||
type HTMLTextOptions, | ||
type Mesh, | ||
type MeshGeometry, | ||
type MeshGeometryOptions, | ||
type MeshOptions, | ||
type NineSliceSprite, | ||
type NineSliceSpriteOptions, | ||
type PlaneGeometry, | ||
type PlaneGeometryOptions, | ||
type Text, | ||
type TextOptions, | ||
type Texture, | ||
type TilingSprite, | ||
type TilingSpriteOptions, | ||
} from 'pixi.js'; | ||
|
||
export type ConstructorOverrides = | ||
| [typeof AlphaFilter, AlphaFilterOptions] | ||
| [typeof BitmapText, TextOptions] | ||
| [typeof BlurFilter, BlurFilterOptions] | ||
| [typeof BlurFilterPass, BlurFilterPassOptions] | ||
| [typeof DisplacementFilter, DisplacementFilterOptions] | ||
| [typeof Filter, FilterOptions] | ||
| [typeof NoiseFilter, NoiseFilterOptions] | ||
| [typeof HTMLText, HTMLTextOptions] | ||
| [typeof Mesh, MeshOptions] | ||
| [typeof MeshGeometry, MeshGeometryOptions] | ||
| [typeof NineSliceSprite, NineSliceSpriteOptions | Texture] | ||
| [typeof PlaneGeometry, PlaneGeometryOptions] | ||
| [typeof TilingSprite, TilingSpriteOptions | Texture] | ||
| [typeof Text, TextOptions]; | ||
|