phaser/scripts/tsgen/test/output.txt
2022-09-20 18:44:25 +01:00

14 lines
1.8 KiB
Text

../../../types/phaser.d.ts(90044,13): error TS2416: Property 'add' in type 'NoAudioSoundManager' is not assignable to the same property in base type 'BaseSoundManager'.
Type '(key: string, config?: SoundConfig | undefined) => NoAudioSound' is not assignable to type '(key: string, config?: SoundConfig | undefined) => BaseSound'.
Type 'NoAudioSound' is missing the following properties from type 'BaseSound': key, isPlaying, isPaused, totalRate, and 19 more.
../../../types/phaser.d.ts(90053,13): error TS2416: Property 'addAudioSprite' in type 'NoAudioSoundManager' is not assignable to the same property in base type 'BaseSoundManager'.
Type '(key: string, config?: SoundConfig | undefined) => NoAudioSound' is not assignable to type '(key: string, config?: SoundConfig | undefined) => HTML5AudioSound | WebAudioSound'.
Type 'NoAudioSound' is not assignable to type 'HTML5AudioSound | WebAudioSound'.
Type 'NoAudioSound' is missing the following properties from type 'WebAudioSound': audioBuffer, source, loopSource, muteNode, and 41 more.
../../../types/phaser.d.ts(90152,13): error TS2416: Property 'setRate' in type 'NoAudioSoundManager' is not assignable to the same property in base type 'BaseSoundManager'.
Type '() => void' is not assignable to type '(value: number) => BaseSoundManager'.
Type 'void' is not assignable to type 'BaseSoundManager'.
../../../types/phaser.d.ts(90157,13): error TS2416: Property 'setDetune' in type 'NoAudioSoundManager' is not assignable to the same property in base type 'BaseSoundManager'.
Type '() => void' is not assignable to type '(value: number) => BaseSoundManager'.
Type 'void' is not assignable to type 'BaseSoundManager'.
../../../types/phaser.d.ts(98845,26): error TS2749: 'Phaser.Tweens.States' refers to a value, but is being used as a type here. Did you mean 'typeof Phaser.Tweens.States'?