Skip to content

Commit

Permalink
fix(tabs): add overflow button render method typedefs
Browse files Browse the repository at this point in the history
Co-authored-by: Ariella Gilmore <[email protected]>
  • Loading branch information
emyarod and ariellalgilmore committed Nov 9, 2023
1 parent fa1dd72 commit 44801bf
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/carbon-web-components/src/components/tabs/tabs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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';
Expand Down Expand Up @@ -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;
Expand Down Expand Up @@ -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;
Expand Down

0 comments on commit 44801bf

Please sign in to comment.