Skip to content

Commit 3c943b0

Browse files
committed
add interface for IconModule
1 parent 9c1a895 commit 3c943b0

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed
Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,13 @@
11
import type { JsLoaderProperty } from '@umbraco-cms/backoffice/extension-api';
22

3-
export interface UmbIconDefinition<JsType extends object = object> {
3+
export interface UmbIconDefinition<JsType = any> {
44
name: string;
55
path: JsLoaderProperty<JsType>;
66
legacy?: boolean;
77
}
88

99
export type UmbIconDictionary = Array<UmbIconDefinition>;
10+
11+
export interface UmbIconModule {
12+
default: string;
13+
}

0 commit comments

Comments
 (0)