parameter soundConfig is now optionnal
if user call mySound.play() the sound will be played with the base SoundConfig
This commit is contained in:
parent
f03f8076f3
commit
b79d76fc2e
3 changed files with 37 additions and 18 deletions
|
@ -15,7 +15,7 @@ const isSoundConfig =
|
|||
export const isPlaySoundEvent =
|
||||
new tg.IsInterface().withProperties({
|
||||
url: tg.isString,
|
||||
config : isSoundConfig,
|
||||
config : tg.isOptional(isSoundConfig),
|
||||
}).get();
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue