From ad045cece25d8b065ebb17245694b5836193b52f Mon Sep 17 00:00:00 2001 From: ghiscoding Date: Fri, 16 Aug 2024 22:33:22 -0400 Subject: [PATCH] fix: add missing TrustedHTML type --- packages/multiple-select-vanilla/src/interfaces/interfaces.ts | 2 ++ .../src/interfaces/multipleSelectOption.interface.ts | 2 ++ 2 files changed, 4 insertions(+) diff --git a/packages/multiple-select-vanilla/src/interfaces/interfaces.ts b/packages/multiple-select-vanilla/src/interfaces/interfaces.ts index 3d09b111..f463ec69 100644 --- a/packages/multiple-select-vanilla/src/interfaces/interfaces.ts +++ b/packages/multiple-select-vanilla/src/interfaces/interfaces.ts @@ -1,3 +1,5 @@ +import type { TrustedHTML } from 'trusted-types/lib'; + export type InferDOMType = T extends CSSStyleDeclaration ? Partial : T extends infer R ? R : any; export type OptionDataObject = { [value: string]: number | string | boolean }; diff --git a/packages/multiple-select-vanilla/src/interfaces/multipleSelectOption.interface.ts b/packages/multiple-select-vanilla/src/interfaces/multipleSelectOption.interface.ts index c8862bb4..29471b76 100644 --- a/packages/multiple-select-vanilla/src/interfaces/multipleSelectOption.interface.ts +++ b/packages/multiple-select-vanilla/src/interfaces/multipleSelectOption.interface.ts @@ -1,3 +1,5 @@ +import type { TrustedHTML } from 'trusted-types/lib'; + import type { LabelFilter, OptGroupRowData, OptionRowData, OptionRowDivider, TextFilter } from './interfaces'; import type { LocaleKey, MultipleSelectLocale } from './locale.interface';