diff --git a/js/Utterance.ts b/js/Utterance.ts index 3804b5f..561ba11 100644 --- a/js/Utterance.ts +++ b/js/Utterance.ts @@ -231,6 +231,7 @@ class Utterance { * this.canAnnounceProperty. */ public setCanAnnounceProperties( canAnnounceProperties: IProperty[] ): void { + assert && assert( canAnnounceProperties.length > 0, 'There must be at least once dependency canAnnounceProperty' ); if ( this.canAnnounceImplementationProperty.value ) { this.canAnnounceImplementationProperty.value.dispose();