UNPKG

@edc4it/reveal.js-external-code

Version:

[![Version](https://img.shields.io/npm/v/@edc4it/reveal.js-external-code)](#)

9 lines (8 loc) 341 B
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>;