importExposed | WebHare Platform SDK
WebHare Platform SDK
    Preparing search index...
    • Retrieve an exposed API

      Type Parameters

      • T

        Type of the expoed API

      Parameters

      • name: string

        Name of the API

      Returns T

      import { type AuthApi } from "@mod-my/frontend";
      const authApi = test.importExposed<authApi>("authApi");

      expose to expose an API