Skip to content

Commit

Permalink
fix: add missing TrustedHTML type (#292)
Browse files Browse the repository at this point in the history
  • Loading branch information
ghiscoding committed Aug 17, 2024
1 parent e6100ba commit 5411b67
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/multiple-select-vanilla/src/interfaces/interfaces.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import type { TrustedHTML } from 'trusted-types/lib';

export type InferDOMType<T> = T extends CSSStyleDeclaration ? Partial<CSSStyleDeclaration> : T extends infer R ? R : any;

export type OptionDataObject = { [value: string]: number | string | boolean };
Expand Down
Original file line number Diff line number Diff line change
@@ -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';

Expand Down

0 comments on commit 5411b67

Please sign in to comment.