@mochabug/adapt-plugin-toolkit
Version:
The API toolkit to facilitate mochabug adapt plugin development
10 lines • 388 B
TypeScript
/**
* Simple token utility for waiting on hash-based tokens
*/
/**
* Waits for a token to become available in the URL hash
* @param isDevelopment - If true, resolves immediately with 'dev-token' for local development
* @returns Promise that resolves with the token
*/
export declare function getToken(isDevelopment?: boolean): Promise<string>;
//# sourceMappingURL=frontend.d.ts.map