update throwException types (#43626)

This commit is contained in:
omjadas 2020-04-10 06:14:27 +10:00 committed by GitHub
parent 325b3e9b79
commit 8f19d2dd2e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -134,7 +134,7 @@ declare namespace GoogleAppsScript {
interface DebugError {
printJson(): string;
setText(text: string): DebugError;
throwException(): void;
throwException(): never;
}
/**
* Contains field-related data. Its properties determine how the field is used in Data Studio.
@ -453,7 +453,7 @@ declare namespace GoogleAppsScript {
printJson(): string;
setDebugText(text: string): UserError;
setText(text: string): UserError;
throwException(): void;
throwException(): never;
}
/**
* function getData(request: GoogleAppsScript.Data_Studio.Request<YourConnectorParams>)