From 5fce6feb8f58403f73c8a9f88b1c63f92558f262 Mon Sep 17 00:00:00 2001 From: stheophil <5139586+stheophil@users.noreply.github.com> Date: Wed, 28 Aug 2019 01:07:34 +0200 Subject: [PATCH] Both Worksheet and Dashboard classes extend Sheet class (#37820) For reference, see https://help.tableau.com/current/api/js_api/en-us/JavaScriptAPI/js_api_ref.htm#sheet_classes --- types/tableau/index.d.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/types/tableau/index.d.ts b/types/tableau/index.d.ts index 3ed3f8dc94..c07206ee78 100644 --- a/types/tableau/index.d.ts +++ b/types/tableau/index.d.ts @@ -534,7 +534,7 @@ declare namespace tableau { getIndex(): number; } - class Worksheet { + class Worksheet extends Sheet { /** Returns the Dashboard object to which this Worksheet belongs (if it’s on a dashboard). Otherwise, it returns null. */ getParentDashboard(): Dashboard; /** @@ -624,7 +624,7 @@ declare namespace tableau { maxRows: number; } - class Dashboard { + class Dashboard extends Sheet { /** Gets the collection of objects. */ getObjects(): DashboardObject[]; /**