better-trakt
Version:
A Trakt.tv client with native Typescript support and quality of life features
12 lines • 511 B
TypeScript
export declare type Types = 'bigint' | 'boolean' | 'function' | 'number' | 'object' | 'string' | 'symbol' | 'undefined';
/**
* Checks if an argument is an acceptable type
* @param arg the argument in question
* @param name name of the argument
* @param type type of the argument
* @returns void
* @throws {@link TypeError} if arg doesn't match provided type
* @internal
*/
export declare function checkRequiredArg(arg: unknown, name: string, type: Types): void;
//# sourceMappingURL=requiredArg.d.ts.map