firebase-functions
Version:
Firebase SDK for Cloud Functions
12 lines (11 loc) • 360 B
TypeScript
/** @hidden
* @file Provides common assertion helpers which can be used to improve
* strictness of both type checking and runtime.
*/
/**
* Checks that the given value is of type `never` — the type that’s left after
* all other cases have been removed.
*
* @param x A value of type `never`.
*/
export declare function assertNever(x: never): never;