openapi-to-ts
Version:
Generate TypeScript types from OpenAPI 3.0 specs.
8 lines (7 loc) • 320 B
TypeScript
/**
* This function loads the content of a file located
* on a remote server.
* @param filePath the path of the file.
* @param githubToken the github token that should be attached to the request.
*/
export declare const getRemoteFile: (filePath: string, githubToken?: string | undefined) => Promise<string>;