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

2.0.3 • Public • Published

Installation

npm install --save @types/insert-css

Summary

This package contains type definitions for insert-css (https://github.com/substack/insert-css).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/insert-css.

index.d.ts

export interface InsertCssOptions {
    container?: HTMLElement | undefined;
    prepend?: boolean | undefined;
}

export interface InsertCssStyleElement extends HTMLStyleElement {
    styleSheet?: CSSStyleSheet | undefined;
}

export function insertCss(
    css: string,
    options?: InsertCssOptions,
): InsertCssStyleElement;

Additional Details

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

Credits

These definitions were written by Heye Vöcking.

Dependencies (0)

    Dev Dependencies (0)

      Package Sidebar

      Install

      npm i @types/insert-css

      Weekly Downloads

      2,193

      Version

      2.0.3

      License

      MIT

      Unpacked Size

      3.21 kB

      Total Files

      5

      Last publish

      Collaborators

      • types