importExposed | WebHare Platform SDKWebHare Platform SDKPreparing search index...@webhare/test-frontendimportExposedFunction importExposedimportExposed<T>(name: string): TRetrieve an exposed API Type ParametersTType of the expoed API Parametersname: stringName of the API Returns TExample: In your test code you would use:import { type AuthApi } from "@mod-my/frontend";const authApi = test.importExposed<authApi>("authApi"); Copy Seeexpose to expose an API SettingsMember VisibilityProtectedInheritedThemeOSLightDarkWebHare Platform SDKLoading...
Retrieve an exposed API