Skip to content

Commit

Permalink
fix: make internal explorer optional
Browse files Browse the repository at this point in the history
  • Loading branch information
chybisov committed Sep 10, 2024
1 parent 287f5ff commit a0f51c6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/widget/src/types/widget.ts
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,8 @@ export interface WidgetConfig {
tokens?: WidgetTokens;
languages?: WidgetLanguages;
languageResources?: LanguageResources;
explorerUrls?: Record<number | 'internal', string[]>;
explorerUrls?: Record<number, string[]> &
Partial<Record<'internal', string[]>>;
}

export interface WidgetConfigProps {
Expand Down

0 comments on commit a0f51c6

Please sign in to comment.