ui: add provideFeature/getFeature API

This commit is contained in:
undefined committed 2023-04-11 14:51:26 +08:00
1 parent e76e1c9beb
commit c482c5fef8
5 files changed
+34 -21

No files matched your search

+2 -1
View File
@@ -11,7 +11,8 @@ declare global {
UserContext: any;
UiContext: any;
Hydro: any;
externalModules: Record<string, string | (() => Promise<any>)>;
/** @deprecated */
externalModules: Record<string, string>;
captureException?: (e: Error) => void;
}
}