Minimal type stub for the @forge/api namespace.

assumeTrustedRoute returns any for the same reason as above: the actual return type is the opaque Route type, and the return value is passed directly to requestJira/requestConfluence.

interface ForgeApiNamespace {
    asApp(): ForgeApiProductRequestMethods;
    assumeTrustedRoute(route: string): any;
    asUser(): ForgeApiProductRequestMethods;
}

Methods

  • Parameters

    • route: string

    Returns any