@types/html-tag
TypeScript icon, indicating that this package has built-in type declarations

2.0.2 • Public • Published

Installation

npm install --save @types/html-tag

Summary

This package contains type definitions for html-tag (https://www.npmjs.com/package/html-tag).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/html-tag.

index.d.ts

declare function tag(name: string, text?: string | false): string;
declare function tag(name: string, attribs?: Record<string, string | number | boolean>, text?: string | false): string;
export = tag;

Additional Details

  • Last updated: Tue, 07 Nov 2023 03:09:37 GMT
  • Dependencies: none

Credits

These definitions were written by arnu515.

Readme

Keywords

none

Package Sidebar

Install

npm i @types/html-tag

Weekly Downloads

27

Version

2.0.2

License

MIT

Unpacked Size

2.92 kB

Total Files

5

Last publish

Collaborators

  • types