@voice-ping/cognitive-services-speech
Version:
VoicePing Cognitive Services Speech SDK for JavaScript forked from Microsoft
14 lines (13 loc) • 535 B
TypeScript
/**
* @class Contracts
* @private
*/
export declare class Contracts {
static throwIfNullOrUndefined(param: any, name: string): void;
static throwIfNull(param: any, name: string): void;
static throwIfNullOrWhitespace(param: string, name: string): void;
static throwIfDisposed(isDisposed: boolean): void;
static throwIfArrayEmptyOrWhitespace(array: string[], name: string): void;
static throwIfFileDoesNotExist(param: any, name: string): void;
static throwIfNotUndefined(param: any, name: string): void;
}