We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a5b4b5a commit 1e087b5Copy full SHA for 1e087b5
src/Cloud.ts
@@ -47,7 +47,6 @@ export function run<
47
>(name: string, data: Parameters<T>[0], options?: RequestOptions): Promise<ReturnType<T>>;
48
export function run(name: string, data?: any, options?: RequestOptions): Promise<any> {
49
options = options || {};
50
-
51
if (typeof name !== 'string' || name.length === 0) {
52
throw new TypeError('Cloud function name must be a string.');
53
}
0 commit comments