From 8f19d2dd2e22cbe79b5e5695e5564d3b1d5937fb Mon Sep 17 00:00:00 2001 From: omjadas Date: Fri, 10 Apr 2020 06:14:27 +1000 Subject: [PATCH] update throwException types (#43626) --- types/google-apps-script/google-apps-script.data-studio.d.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/types/google-apps-script/google-apps-script.data-studio.d.ts b/types/google-apps-script/google-apps-script.data-studio.d.ts index ff85f14753..fd0fea1377 100644 --- a/types/google-apps-script/google-apps-script.data-studio.d.ts +++ b/types/google-apps-script/google-apps-script.data-studio.d.ts @@ -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)