@edc4it/reveal.js-external-code
Version:
[](#)
9 lines (8 loc) • 341 B
TypeScript
import { Options } from '../options.ts';
/**
* fetch the code from the server
* @throws an Error when res.ok is false (and passes on native fetch errors)
* @param url A string that provides the URL of the resource you want to fetch.
* @param options
*/
export declare function fetchCode(url: string, options: Options): Promise<string>;