Skip to content

Commit 5411b67

Browse files
authored
fix: add missing TrustedHTML type (#292)
1 parent e6100ba commit 5411b67

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

packages/multiple-select-vanilla/src/interfaces/interfaces.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
import type { TrustedHTML } from 'trusted-types/lib';
2+
13
export type InferDOMType<T> = T extends CSSStyleDeclaration ? Partial<CSSStyleDeclaration> : T extends infer R ? R : any;
24

35
export type OptionDataObject = { [value: string]: number | string | boolean };

packages/multiple-select-vanilla/src/interfaces/multipleSelectOption.interface.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
import type { TrustedHTML } from 'trusted-types/lib';
2+
13
import type { LabelFilter, OptGroupRowData, OptionRowData, OptionRowDivider, TextFilter } from './interfaces';
24
import type { LocaleKey, MultipleSelectLocale } from './locale.interface';
35

0 commit comments

Comments
 (0)