pxt-arcade icon indicating copy to clipboard operation
pxt-arcade copied to clipboard

game dependency pollution in mixer

Open pelikhan opened this issue 7 months ago • 0 comments

The mixer project depends on 2 APIs that are part of game but it does not depend on that library.

pxt_modules/mixer---samd/playable.ts(36,9): error TS2304: Cannot find name 'game'.

pxt_modules/mixer---samd/playable.ts(40,9): error TS2304: Cannot find name 'game'.

pxt_modules/mixer---samd/soundEffect.ts(310,22): error TS2339: Property 'percentChance' does not exist on type 'typeof Math'.

pxt_modules/mixer---samd/soundEffect.ts(320,67): error TS2339: Property 'percentChance' does not exist on type 'typeof Math'.

pelikhan avatar Jul 09 '24 18:07 pelikhan