diff --git a/components/button/button-mixin.js b/components/button/button-mixin.js index 3d3ac47e854..097e92f0509 100644 --- a/components/button/button-mixin.js +++ b/components/button/button-mixin.js @@ -1,8 +1,9 @@ import { FocusMixin } from '../../mixins/focus/focus-mixin.js'; /** + * @typedef {typeof import('lit').ReactiveElement} ReactiveElementType * @typedef {import('@open-wc/dedupe-mixin').Constructor} ReactiveElementConstructor - * @typedef {ReactiveElementConstructor & Pick} ReactiveElementClassType + * @typedef {ReactiveElementConstructor & Pick} ReactiveElementClassType */ /** diff --git a/components/count-badge/count-badge-mixin.js b/components/count-badge/count-badge-mixin.js index 2d38a15603e..a87987c3fd8 100644 --- a/components/count-badge/count-badge-mixin.js +++ b/components/count-badge/count-badge-mixin.js @@ -12,8 +12,9 @@ import { styleMap } from 'lit/directives/style-map.js'; const maxBadgeDigits = 5; /** + * @typedef {typeof import('lit').LitElement} LitElementType * @typedef {import('@open-wc/dedupe-mixin').Constructor} LitElementConstructor - * @typedef {LitElementConstructor & Pick} LitElementClassType + * @typedef {LitElementConstructor & Pick} LitElementClassType */ /** diff --git a/components/demo/demo-passthrough-mixin.js b/components/demo/demo-passthrough-mixin.js index 99a250e3f5e..609e8bc7943 100644 --- a/components/demo/demo-passthrough-mixin.js +++ b/components/demo/demo-passthrough-mixin.js @@ -1,8 +1,9 @@ import { LitElement } from 'lit'; /** + * @typedef {typeof import('lit').LitElement} LitElementType * @typedef {import('@open-wc/dedupe-mixin').Constructor} LitElementConstructor - * @typedef {LitElementConstructor & Pick} LitElementClassType + * @typedef {LitElementConstructor & Pick} LitElementClassType */ /** diff --git a/components/dialog/dialog-mixin.js b/components/dialog/dialog-mixin.js index dafb396ef1c..643573d2243 100644 --- a/components/dialog/dialog-mixin.js +++ b/components/dialog/dialog-mixin.js @@ -29,8 +29,9 @@ const abortAction = 'abort'; const defaultMargin = { top: 75, right: 30, bottom: 30, left: 30 }; /** + * @typedef {typeof import('lit').LitElement} LitElementType * @typedef {import('@open-wc/dedupe-mixin').Constructor} LitElementConstructor - * @typedef {LitElementConstructor & Pick} LitElementClassType + * @typedef {LitElementConstructor & Pick} LitElementClassType */ /** diff --git a/components/dropdown/dropdown-content-mixin.js b/components/dropdown/dropdown-content-mixin.js index b2fe8ee05fc..78adc5da906 100644 --- a/components/dropdown/dropdown-content-mixin.js +++ b/components/dropdown/dropdown-content-mixin.js @@ -22,8 +22,9 @@ const pointerLength = 16; const pointerRotatedLength = Math.SQRT2 * parseFloat(pointerLength); /** + * @typedef {typeof import('lit').LitElement} LitElementType * @typedef {import('@open-wc/dedupe-mixin').Constructor} LitElementConstructor - * @typedef {LitElementConstructor & Pick} LitElementClassType + * @typedef {LitElementConstructor & Pick} LitElementClassType */ /** diff --git a/components/dropdown/dropdown-opener-mixin.js b/components/dropdown/dropdown-opener-mixin.js index 67603a16053..84efcfbd6e6 100644 --- a/components/dropdown/dropdown-opener-mixin.js +++ b/components/dropdown/dropdown-opener-mixin.js @@ -8,8 +8,9 @@ const intersectionObserver = new IntersectionObserver(entries => { }, { threshold: 0 }); // 0-1 (0 -> intersection requires any pixel visible, 1 -> intersection requires all pixels visible) /** + * @typedef {typeof import('lit').ReactiveElement} ReactiveElementType * @typedef {import('@open-wc/dedupe-mixin').Constructor} ReactiveElementConstructor - * @typedef {ReactiveElementConstructor & Pick} ReactiveElementClassType + * @typedef {ReactiveElementConstructor & Pick} ReactiveElementClassType */ /** diff --git a/components/form/form-element-mixin.js b/components/form/form-element-mixin.js index 1cf8658935e..aba42c81a3a 100644 --- a/components/form/form-element-mixin.js +++ b/components/form/form-element-mixin.js @@ -76,8 +76,9 @@ export class FormElementValidityState { } /** + * @typedef {typeof import('lit').LitElement} LitElementType * @typedef {import('@open-wc/dedupe-mixin').Constructor} LitElementConstructor - * @typedef {LitElementConstructor & Pick} LitElementClassType + * @typedef {LitElementConstructor & Pick} LitElementClassType */ /** diff --git a/components/form/form-mixin.js b/components/form/form-mixin.js index 5e4d650b1db..335fdcdf201 100644 --- a/components/form/form-mixin.js +++ b/components/form/form-mixin.js @@ -8,8 +8,9 @@ import { LocalizeCoreElement } from '../../helpers/localize-core-element.js'; import { localizeFormElement } from './form-element-localize-helper.js'; /** + * @typedef {typeof import('lit').LitElement} LitElementType * @typedef {import('@open-wc/dedupe-mixin').Constructor} LitElementConstructor - * @typedef {LitElementConstructor & Pick} LitElementClassType + * @typedef {LitElementConstructor & Pick} LitElementClassType */ /** diff --git a/components/hierarchical-view/hierarchical-view-mixin.js b/components/hierarchical-view/hierarchical-view-mixin.js index 7277b2a1703..e9cb4e266fc 100644 --- a/components/hierarchical-view/hierarchical-view-mixin.js +++ b/components/hierarchical-view/hierarchical-view-mixin.js @@ -8,8 +8,9 @@ const __nativeFocus = document.createElement('div').focus; const escapeKeyCode = 27; /** + * @typedef {typeof import('lit').ReactiveElement} ReactiveElementType * @typedef {import('@open-wc/dedupe-mixin').Constructor} ReactiveElementConstructor - * @typedef {ReactiveElementConstructor & Pick} ReactiveElementClassType + * @typedef {ReactiveElementConstructor & Pick} ReactiveElementClassType */ /** diff --git a/components/inputs/input-inline-help.js b/components/inputs/input-inline-help.js index d5a45f396fe..d3691321cb0 100644 --- a/components/inputs/input-inline-help.js +++ b/components/inputs/input-inline-help.js @@ -13,8 +13,9 @@ export const inlineHelpStyles = [ ]; /** + * @typedef {typeof import('lit').LitElement} LitElementType * @typedef {import('@open-wc/dedupe-mixin').Constructor} LitElementConstructor - * @typedef {LitElementConstructor & Pick} LitElementClassType + * @typedef {LitElementConstructor & Pick} LitElementClassType */ /** diff --git a/components/list/list-item-button-mixin.js b/components/list/list-item-button-mixin.js index 16a5d554d75..2f71ec41fd5 100644 --- a/components/list/list-item-button-mixin.js +++ b/components/list/list-item-button-mixin.js @@ -4,8 +4,9 @@ import { getUniqueId } from '../../helpers/uniqueId.js'; import { ListItemMixin } from './list-item-mixin.js'; /** + * @typedef {typeof import('lit').LitElement} LitElementType * @typedef {import('@open-wc/dedupe-mixin').Constructor} LitElementConstructor - * @typedef {LitElementConstructor & Pick} LitElementClassType + * @typedef {LitElementConstructor & Pick} LitElementClassType */ /** diff --git a/components/list/list-item-checkbox-mixin.js b/components/list/list-item-checkbox-mixin.js index 341a8b66e39..f8e8aa65ba4 100644 --- a/components/list/list-item-checkbox-mixin.js +++ b/components/list/list-item-checkbox-mixin.js @@ -5,8 +5,9 @@ import { SelectionInfo } from '../selection/selection-mixin.js'; import { SkeletonMixin } from '../skeleton/skeleton-mixin.js'; /** + * @typedef {typeof import('lit').LitElement} LitElementType * @typedef {import('@open-wc/dedupe-mixin').Constructor} LitElementConstructor - * @typedef {LitElementConstructor & Pick} LitElementClassType + * @typedef {LitElementConstructor & Pick} LitElementClassType */ /** diff --git a/components/list/list-item-drag-drop-mixin.js b/components/list/list-item-drag-drop-mixin.js index 3f88f717d87..799013c33b6 100644 --- a/components/list/list-item-drag-drop-mixin.js +++ b/components/list/list-item-drag-drop-mixin.js @@ -247,8 +247,9 @@ export class NewPositionEventDetails { } /** + * @typedef {typeof import('lit').LitElement} LitElementType * @typedef {import('@open-wc/dedupe-mixin').Constructor} LitElementConstructor - * @typedef {LitElementConstructor & Pick} LitElementClassType + * @typedef {LitElementConstructor & Pick} LitElementClassType */ /** diff --git a/components/list/list-item-expand-collapse-mixin.js b/components/list/list-item-expand-collapse-mixin.js index ee436993345..0d40290e617 100644 --- a/components/list/list-item-expand-collapse-mixin.js +++ b/components/list/list-item-expand-collapse-mixin.js @@ -8,8 +8,9 @@ const dragIntervalDelay = 100; const dragHoverDropTime = 1000; /** + * @typedef {typeof import('lit').LitElement} LitElementType * @typedef {import('@open-wc/dedupe-mixin').Constructor} LitElementConstructor - * @typedef {LitElementConstructor & Pick} LitElementClassType + * @typedef {LitElementConstructor & Pick} LitElementClassType */ /** diff --git a/components/list/list-item-link-mixin.js b/components/list/list-item-link-mixin.js index 7ebb0516137..8f6bede904d 100644 --- a/components/list/list-item-link-mixin.js +++ b/components/list/list-item-link-mixin.js @@ -4,8 +4,9 @@ import { getUniqueId } from '../../helpers/uniqueId.js'; import { ListItemMixin } from './list-item-mixin.js'; /** + * @typedef {typeof import('lit').LitElement} LitElementType * @typedef {import('@open-wc/dedupe-mixin').Constructor} LitElementConstructor - * @typedef {LitElementConstructor & Pick} LitElementClassType + * @typedef {LitElementConstructor & Pick} LitElementClassType */ /** diff --git a/components/list/list-item-mixin.js b/components/list/list-item-mixin.js index a66ea8cc31c..990ff2ed95c 100644 --- a/components/list/list-item-mixin.js +++ b/components/list/list-item-mixin.js @@ -40,8 +40,9 @@ function addTabListener() { let hasDisplayedKeyboardTooltip = false; /** + * @typedef {typeof import('lit').LitElement} LitElementType * @typedef {import('@open-wc/dedupe-mixin').Constructor} LitElementConstructor - * @typedef {LitElementConstructor & Pick} LitElementClassType + * @typedef {LitElementConstructor & Pick} LitElementClassType */ /** diff --git a/components/list/list-item-role-mixin.js b/components/list/list-item-role-mixin.js index 74e1e2fa6b8..ce89c6ee1e9 100644 --- a/components/list/list-item-role-mixin.js +++ b/components/list/list-item-role-mixin.js @@ -1,8 +1,9 @@ import { findComposedAncestor } from '../../helpers/dom.js'; /** + * @typedef {typeof import('lit').ReactiveElement} ReactiveElementType * @typedef {import('@open-wc/dedupe-mixin').Constructor} ReactiveElementConstructor - * @typedef {ReactiveElementConstructor & Pick} ReactiveElementClassType + * @typedef {ReactiveElementConstructor & Pick} ReactiveElementClassType */ /** diff --git a/components/menu/menu-item-mixin.js b/components/menu/menu-item-mixin.js index 32492b09b4d..da114d7268a 100644 --- a/components/menu/menu-item-mixin.js +++ b/components/menu/menu-item-mixin.js @@ -1,6 +1,7 @@ /** + * @typedef {typeof import('lit').ReactiveElement} ReactiveElementType * @typedef {import('@open-wc/dedupe-mixin').Constructor} ReactiveElementConstructor - * @typedef {ReactiveElementConstructor & Pick} ReactiveElementClassType + * @typedef {ReactiveElementConstructor & Pick} ReactiveElementClassType */ /** diff --git a/components/menu/menu-item-radio-mixin.js b/components/menu/menu-item-radio-mixin.js index 39a21b565fb..d90bd7524e0 100644 --- a/components/menu/menu-item-radio-mixin.js +++ b/components/menu/menu-item-radio-mixin.js @@ -1,8 +1,9 @@ import { MenuItemSelectableMixin } from './menu-item-selectable-mixin.js'; /** + * @typedef {typeof import('lit').ReactiveElement} ReactiveElementType * @typedef {import('@open-wc/dedupe-mixin').Constructor} ReactiveElementConstructor - * @typedef {ReactiveElementConstructor & Pick} ReactiveElementClassType + * @typedef {ReactiveElementConstructor & Pick} ReactiveElementClassType */ /** diff --git a/components/menu/menu-item-selectable-mixin.js b/components/menu/menu-item-selectable-mixin.js index ff91fc29530..2228173490f 100644 --- a/components/menu/menu-item-selectable-mixin.js +++ b/components/menu/menu-item-selectable-mixin.js @@ -1,8 +1,9 @@ import { MenuItemMixin } from './menu-item-mixin.js'; /** + * @typedef {typeof import('lit').ReactiveElement} ReactiveElementType * @typedef {import('@open-wc/dedupe-mixin').Constructor} ReactiveElementConstructor - * @typedef {ReactiveElementConstructor & Pick} ReactiveElementClassType + * @typedef {ReactiveElementConstructor & Pick} ReactiveElementClassType */ /** diff --git a/components/meter/meter-mixin.js b/components/meter/meter-mixin.js index 27a32acddf1..c14b03f912b 100644 --- a/components/meter/meter-mixin.js +++ b/components/meter/meter-mixin.js @@ -2,8 +2,9 @@ import { formatPercent } from '@brightspace-ui/intl/lib/number.js'; import { LocalizeCoreElement } from '../../helpers/localize-core-element.js'; /** + * @typedef {typeof import('lit').LitElement} LitElementType * @typedef {import('@open-wc/dedupe-mixin').Constructor} LitElementConstructor - * @typedef {LitElementConstructor & Pick} LitElementClassType + * @typedef {LitElementConstructor & Pick} LitElementClassType */ /** diff --git a/components/overflow-group/overflow-group-mixin.js b/components/overflow-group/overflow-group-mixin.js index f33314c3ffb..24fda3a6c17 100644 --- a/components/overflow-group/overflow-group-mixin.js +++ b/components/overflow-group/overflow-group-mixin.js @@ -26,8 +26,9 @@ async function filterAsync(arr, callback) { } /** + * @typedef {typeof import('lit').LitElement} LitElementType * @typedef {import('@open-wc/dedupe-mixin').Constructor} LitElementConstructor - * @typedef {LitElementConstructor & Pick} LitElementClassType + * @typedef {LitElementConstructor & Pick} LitElementClassType */ /** diff --git a/components/paging/pageable-mixin.js b/components/paging/pageable-mixin.js index a1f445cce6b..7a99bf23d48 100644 --- a/components/paging/pageable-mixin.js +++ b/components/paging/pageable-mixin.js @@ -3,8 +3,9 @@ import { html } from 'lit'; import { SubscriberRegistryController } from '../../controllers/subscriber/subscriberControllers.js'; /** + * @typedef {typeof import('lit').LitElement} LitElementType * @typedef {import('@open-wc/dedupe-mixin').Constructor} LitElementConstructor - * @typedef {LitElementConstructor & Pick} LitElementClassType + * @typedef {LitElementConstructor & Pick} LitElementClassType */ /** diff --git a/components/paging/pageable-subscriber-mixin.js b/components/paging/pageable-subscriber-mixin.js index d163c7a987b..1ff1816987a 100644 --- a/components/paging/pageable-subscriber-mixin.js +++ b/components/paging/pageable-subscriber-mixin.js @@ -1,10 +1,12 @@ import { EventSubscriberController, IdSubscriberController } from '../../controllers/subscriber/subscriberControllers.js'; /** + * @typedef {typeof import('lit').ReactiveElement} ReactiveElementType * @typedef {import('@open-wc/dedupe-mixin').Constructor} ReactiveElementConstructor - * @typedef {ReactiveElementConstructor & Pick} ReactiveElementClassType + * @typedef {ReactiveElementConstructor & Pick} ReactiveElementClassType */ + /** * @template {ReactiveElementClassType} S * @param {S} superclass diff --git a/components/popover/popover-mixin.js b/components/popover/popover-mixin.js index 34312eebfa6..f34075d001d 100644 --- a/components/popover/popover-mixin.js +++ b/components/popover/popover-mixin.js @@ -20,8 +20,9 @@ const isSupported = ('popover' in HTMLElement.prototype); console.log('Popover', isSupported); /** + * @typedef {typeof import('lit').LitElement} LitElementType * @typedef {import('@open-wc/dedupe-mixin').Constructor} LitElementConstructor - * @typedef {LitElementConstructor & Pick} LitElementClassType + * @typedef {LitElementConstructor & Pick} LitElementClassType */ /** diff --git a/components/selection/selection-action-mixin.js b/components/selection/selection-action-mixin.js index be68c845cd5..70c951d3fca 100644 --- a/components/selection/selection-action-mixin.js +++ b/components/selection/selection-action-mixin.js @@ -4,10 +4,12 @@ import { SelectionInfo } from './selection-mixin.js'; import { SelectionObserverMixin } from './selection-observer-mixin.js'; /** + * @typedef {typeof import('lit').ReactiveElement} ReactiveElementType * @typedef {import('@open-wc/dedupe-mixin').Constructor} ReactiveElementConstructor - * @typedef {ReactiveElementConstructor & Pick} ReactiveElementClassType + * @typedef {ReactiveElementConstructor & Pick} ReactiveElementClassType */ + /** * @template {ReactiveElementClassType} S * @param {S} superclass diff --git a/components/selection/selection-mixin.js b/components/selection/selection-mixin.js index e9c3fd9f56a..f51802d4865 100644 --- a/components/selection/selection-mixin.js +++ b/components/selection/selection-mixin.js @@ -45,10 +45,12 @@ export class SelectionInfo { } /** + * @typedef {typeof import('lit').ReactiveElement} ReactiveElementType * @typedef {import('@open-wc/dedupe-mixin').Constructor} ReactiveElementConstructor - * @typedef {ReactiveElementConstructor & Pick} ReactiveElementClassType + * @typedef {ReactiveElementConstructor & Pick} ReactiveElementClassType */ + /** * @template {ReactiveElementClassType} S * @param {S} superclass diff --git a/components/selection/selection-observer-mixin.js b/components/selection/selection-observer-mixin.js index 32fb46edd74..b4183b9e3cd 100644 --- a/components/selection/selection-observer-mixin.js +++ b/components/selection/selection-observer-mixin.js @@ -2,10 +2,12 @@ import { cssEscape } from '../../helpers/dom.js'; import { SelectionInfo } from './selection-mixin.js'; /** + * @typedef {typeof import('lit').ReactiveElement} ReactiveElementType * @typedef {import('@open-wc/dedupe-mixin').Constructor} ReactiveElementConstructor - * @typedef {ReactiveElementConstructor & Pick} ReactiveElementClassType + * @typedef {ReactiveElementConstructor & Pick} ReactiveElementClassType */ + /** * @template {ReactiveElementClassType} S * @param {S} superclass diff --git a/components/skeleton/skeleton-group-mixin.js b/components/skeleton/skeleton-group-mixin.js index 8c13bc2da85..32affa2c540 100644 --- a/components/skeleton/skeleton-group-mixin.js +++ b/components/skeleton/skeleton-group-mixin.js @@ -3,8 +3,9 @@ import { SkeletonMixin } from './skeleton-mixin.js'; import { SubscriberRegistryController } from '../../controllers/subscriber/subscriberControllers.js'; /** + * @typedef {typeof import('lit').ReactiveElement} ReactiveElementType * @typedef {import('@open-wc/dedupe-mixin').Constructor} ReactiveElementConstructor - * @typedef {ReactiveElementConstructor & Pick} ReactiveElementClassType + * @typedef {ReactiveElementConstructor & Pick} ReactiveElementClassType */ /** diff --git a/components/skeleton/skeleton-mixin.js b/components/skeleton/skeleton-mixin.js index c2ea016bdf7..78e1978f000 100644 --- a/components/skeleton/skeleton-mixin.js +++ b/components/skeleton/skeleton-mixin.js @@ -149,8 +149,9 @@ export const skeletonStyles = css` `; /** + * @typedef {typeof import('lit').ReactiveElement} ReactiveElementType * @typedef {import('@open-wc/dedupe-mixin').Constructor} ReactiveElementConstructor - * @typedef {ReactiveElementConstructor & Pick} ReactiveElementClassType + * @typedef {ReactiveElementConstructor & Pick} ReactiveElementClassType */ /** diff --git a/components/switch/switch-mixin.js b/components/switch/switch-mixin.js index a789c49c6c8..75ff6d24663 100644 --- a/components/switch/switch-mixin.js +++ b/components/switch/switch-mixin.js @@ -8,8 +8,9 @@ import { ifDefined } from 'lit/directives/if-defined.js'; import { RtlMixin } from '../../mixins/rtl/rtl-mixin.js'; /** + * @typedef {typeof import('lit').LitElement} LitElementType * @typedef {import('@open-wc/dedupe-mixin').Constructor} LitElementConstructor - * @typedef {LitElementConstructor & Pick} LitElementClassType + * @typedef {LitElementConstructor & Pick} LitElementClassType */ /** diff --git a/components/tabs/tab-panel-mixin.js b/components/tabs/tab-panel-mixin.js index 6812073bc58..5eaf100d882 100644 --- a/components/tabs/tab-panel-mixin.js +++ b/components/tabs/tab-panel-mixin.js @@ -2,8 +2,9 @@ import { css } from 'lit'; import { getUniqueId } from '../../helpers/uniqueId.js'; /** + * @typedef {typeof import('lit').ReactiveElement} ReactiveElementType * @typedef {import('@open-wc/dedupe-mixin').Constructor} ReactiveElementConstructor - * @typedef {ReactiveElementConstructor & Pick} ReactiveElementClassType + * @typedef {ReactiveElementConstructor & Pick} ReactiveElementClassType */ /** diff --git a/components/tag-list/tag-list-item-mixin.js b/components/tag-list/tag-list-item-mixin.js index 145d924fdbe..f28a753f540 100644 --- a/components/tag-list/tag-list-item-mixin.js +++ b/components/tag-list/tag-list-item-mixin.js @@ -39,8 +39,9 @@ export function resetHasDisplayedKeyboardTooltip() { } /** + * @typedef {typeof import('lit').LitElement} LitElementType * @typedef {import('@open-wc/dedupe-mixin').Constructor} LitElementConstructor - * @typedef {LitElementConstructor & Pick} LitElementClassType + * @typedef {LitElementConstructor & Pick} LitElementClassType */ /** diff --git a/components/validation/validation-custom-mixin.js b/components/validation/validation-custom-mixin.js index 6d68a688e9e..f40a4f695fc 100644 --- a/components/validation/validation-custom-mixin.js +++ b/components/validation/validation-custom-mixin.js @@ -1,8 +1,9 @@ import { isCustomFormElement } from '../form/form-helper.js'; /** + * @typedef {typeof import('lit').ReactiveElement} ReactiveElementType * @typedef {import('@open-wc/dedupe-mixin').Constructor} ReactiveElementConstructor - * @typedef {ReactiveElementConstructor & Pick} ReactiveElementClassType + * @typedef {ReactiveElementConstructor & Pick} ReactiveElementClassType */ /** diff --git a/mixins/arrow-keys/arrow-keys-mixin.js b/mixins/arrow-keys/arrow-keys-mixin.js index a2ceabae369..63a5a19f1a8 100644 --- a/mixins/arrow-keys/arrow-keys-mixin.js +++ b/mixins/arrow-keys/arrow-keys-mixin.js @@ -10,8 +10,9 @@ const keyCodes = Object.freeze({ }); /** + * @typedef {typeof import('lit').LitElement} LitElementType * @typedef {import('@open-wc/dedupe-mixin').Constructor} LitElementConstructor - * @typedef {LitElementConstructor & Pick} LitElementClassType + * @typedef {LitElementConstructor & Pick} LitElementClassType */ /** diff --git a/mixins/async-container/async-container-mixin.js b/mixins/async-container/async-container-mixin.js index 9511ac3e6e4..c8a0362ee1e 100644 --- a/mixins/async-container/async-container-mixin.js +++ b/mixins/async-container/async-container-mixin.js @@ -6,8 +6,9 @@ export const asyncStates = { }; /** + * @typedef {typeof import('lit').ReactiveElement} ReactiveElementType * @typedef {import('@open-wc/dedupe-mixin').Constructor} ReactiveElementConstructor - * @typedef {ReactiveElementConstructor & Pick} ReactiveElementClassType + * @typedef {ReactiveElementConstructor & Pick} ReactiveElementClassType */ /** diff --git a/mixins/collection/collection-mixin.js b/mixins/collection/collection-mixin.js index 95810d0ff22..e3e34d20b65 100644 --- a/mixins/collection/collection-mixin.js +++ b/mixins/collection/collection-mixin.js @@ -1,6 +1,7 @@ /** + * @typedef {typeof import('lit').ReactiveElement} ReactiveElementType * @typedef {import('@open-wc/dedupe-mixin').Constructor} ReactiveElementConstructor - * @typedef {ReactiveElementConstructor & Pick} ReactiveElementClassType + * @typedef {ReactiveElementConstructor & Pick} ReactiveElementClassType */ /** diff --git a/mixins/interactive/interactive-mixin.js b/mixins/interactive/interactive-mixin.js index e626892b589..f5286adedee 100644 --- a/mixins/interactive/interactive-mixin.js +++ b/mixins/interactive/interactive-mixin.js @@ -16,8 +16,9 @@ export function isInteractiveDescendant(node) { } /** + * @typedef {typeof import('lit').LitElement} LitElementType * @typedef {import('@open-wc/dedupe-mixin').Constructor} LitElementConstructor - * @typedef {LitElementConstructor & Pick} LitElementClassType + * @typedef {LitElementConstructor & Pick} LitElementClassType */ /** diff --git a/mixins/labelled/labelled-mixin.js b/mixins/labelled/labelled-mixin.js index 044961bdae4..68b1ab2cff8 100644 --- a/mixins/labelled/labelled-mixin.js +++ b/mixins/labelled/labelled-mixin.js @@ -47,8 +47,9 @@ const waitForElement = async(contextElement, selector, timeout) => { }; /** + * @typedef {typeof import('lit').ReactiveElement} ReactiveElementType * @typedef {import('@open-wc/dedupe-mixin').Constructor} ReactiveElementConstructor - * @typedef {ReactiveElementConstructor & Pick} ReactiveElementClassType + * @typedef {ReactiveElementConstructor & Pick} ReactiveElementClassType */ /** diff --git a/mixins/property-required/property-required-mixin.js b/mixins/property-required/property-required-mixin.js index 982b290f7c5..7371874b8ef 100644 --- a/mixins/property-required/property-required-mixin.js +++ b/mixins/property-required/property-required-mixin.js @@ -23,8 +23,9 @@ export function createInvalidPropertyTypeMessage(elem, propertyName) { } /** + * @typedef {typeof import('lit').ReactiveElement} ReactiveElementType * @typedef {import('@open-wc/dedupe-mixin').Constructor} ReactiveElementConstructor - * @typedef {ReactiveElementConstructor & Pick} ReactiveElementClassType + * @typedef {ReactiveElementConstructor & Pick} ReactiveElementClassType */ /** diff --git a/mixins/rtl/rtl-mixin.js b/mixins/rtl/rtl-mixin.js index c5e64994267..ed7504ecd41 100644 --- a/mixins/rtl/rtl-mixin.js +++ b/mixins/rtl/rtl-mixin.js @@ -2,8 +2,9 @@ import { dedupeMixin } from '@open-wc/dedupe-mixin'; import { getDocumentLocaleSettings } from '@brightspace-ui/intl/lib/common.js'; /** + * @typedef {typeof import('lit').ReactiveElement} ReactiveElementType * @typedef {import('@open-wc/dedupe-mixin').Constructor} ReactiveElementConstructor - * @typedef {ReactiveElementConstructor & Pick} ReactiveElementClassType + * @typedef {ReactiveElementConstructor & Pick} ReactiveElementClassType */ /** diff --git a/mixins/theme/theme-mixin.js b/mixins/theme/theme-mixin.js index 134b25f2e27..e069b2b61e7 100644 --- a/mixins/theme/theme-mixin.js +++ b/mixins/theme/theme-mixin.js @@ -1,6 +1,7 @@ /** + * @typedef {typeof import('lit').ReactiveElement} ReactiveElementType * @typedef {import('@open-wc/dedupe-mixin').Constructor} ReactiveElementConstructor - * @typedef {ReactiveElementConstructor & Pick} ReactiveElementClassType + * @typedef {ReactiveElementConstructor & Pick} ReactiveElementClassType */ /** diff --git a/mixins/visible-on-ancestor/visible-on-ancestor-mixin.js b/mixins/visible-on-ancestor/visible-on-ancestor-mixin.js index 17ed48e9e56..09ee3b9dc6f 100644 --- a/mixins/visible-on-ancestor/visible-on-ancestor-mixin.js +++ b/mixins/visible-on-ancestor/visible-on-ancestor-mixin.js @@ -42,8 +42,9 @@ export const visibleOnAncestorStyles = css` `; /** + * @typedef {typeof import('lit').ReactiveElement} ReactiveElementType * @typedef {import('@open-wc/dedupe-mixin').Constructor} ReactiveElementConstructor - * @typedef {ReactiveElementConstructor & Pick} ReactiveElementClassType + * @typedef {ReactiveElementConstructor & Pick} ReactiveElementClassType */ /**