Installation
npm install --save @types/create-html
Summary
This package contains type definitions for create-html (https://github.com/sethvincent/create-html#readme).
Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/create-html.
index.d.ts
declare function createHtml(opts: {
/** Content to insert into <body> tag. */
body?: string | undefined;
/** CSS filename. */
css?: string | string[] | undefined;
/** Add async attribute to CSS tag. */
cssAsync?: string | string[] | undefined;
/** Direction of content. */
dir?: string | undefined;
/** Site favicon. */
favicon?: string | undefined;
/** Content to insert into <head> tag. */
head?: string | undefined;
/** Language of content. */
lang?: string | undefined;
/** JavaScript filename. */
script?: string | string[] | undefined;
/** Add async attribute to script tag. */
scriptAsync?: boolean | undefined;
/** Page title. */
title?: string | undefined;
}): string;
export = createHtml;
Additional Details
- Last updated: Mon, 06 Nov 2023 22:41:05 GMT
- Dependencies: none
Credits
These definitions were written by Ciarán Ingle.