From 44801bf2ab3489f2d0c71f271660ea75f6a9ee02 Mon Sep 17 00:00:00 2001 From: emyarod Date: Thu, 9 Nov 2023 12:53:39 -0600 Subject: [PATCH] fix(tabs): add overflow button render method typedefs Co-authored-by: Ariella Gilmore --- packages/carbon-web-components/src/components/tabs/tabs.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/carbon-web-components/src/components/tabs/tabs.ts b/packages/carbon-web-components/src/components/tabs/tabs.ts index 9a532615a07..18320f948a7 100644 --- a/packages/carbon-web-components/src/components/tabs/tabs.ts +++ b/packages/carbon-web-components/src/components/tabs/tabs.ts @@ -7,7 +7,7 @@ * LICENSE file in the root directory of this source tree. */ -import { html } from 'lit'; +import { TemplateResult, html } from 'lit'; import { property, state, query } from 'lit/decorators.js'; import { classMap } from 'lit/directives/class-map.js'; import { prefix } from '../../globals/settings'; @@ -414,7 +414,7 @@ export default class CDSTabs extends HostListenerMixin(CDSContentSwitcher) { /** * Render the previous button if tablist is wider than container. */ - protected renderPreviousButton() { + protected renderPreviousButton(): TemplateResult | null { const { _isIntersectionLeftTrackerInContent: isIntersectionLeftTrackerInContent, } = this; @@ -443,7 +443,7 @@ export default class CDSTabs extends HostListenerMixin(CDSContentSwitcher) { /** * Render the next button if tablist is wider than container. */ - protected renderNextButton() { + protected renderNextButton(): TemplateResult | null { const { _isIntersectionRightTrackerInContent: isIntersectionRightTrackerInContent, } = this;