Skip to content

Commit f8a2528

Browse files
committed
use JSLoaderProperty type
1 parent 51fbb5a commit f8a2528

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/packages/core/icon-registry/types.ts

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
1-
export interface UmbIconDefinition {
1+
import type { JsLoaderProperty } from '@umbraco-cms/backoffice/extension-api';
2+
3+
export interface UmbIconDefinition<JsType extends object = object> {
24
name: string;
3-
path: string;
5+
path: JsLoaderProperty<JsType>;
46
legacy?: boolean;
57
}
68

0 commit comments

Comments
 (0)