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

5.1.34 • Public • Published

Installation

npm install --save @types/autoprefixer-core

Summary

This package contains type definitions for autoprefixer-core (https://github.com/postcss/autoprefixer-core).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/autoprefixer-core.

index.d.ts

interface Config {
    browsers?: string[] | undefined;
    cascade?: boolean | undefined;
    remove?: boolean | undefined;
}

interface Options {
    from?: string | undefined;
    to?: string | undefined;
    safe?: boolean | undefined;
    map?: {
        inline?: boolean | undefined;
        prev?: string | Object | undefined;
    } | undefined;
}

interface Result {
    css: string;
    map: string;
    opts: Options;
}

interface Processor {
    postcss: any;
    info(): string;
    process(css: string, opts?: Options): Result;
}

interface Exports {
    (config: Config): Processor;
    postcss: any;
    info(): string;
    process(css: string, opts?: Options): Result;
}

declare var exports: Exports;
export = exports;

Additional Details

  • Last updated: Mon, 06 Nov 2023 22:41:04 GMT
  • Dependencies: none

Credits

These definitions were written by Asana.

Readme

Keywords

none

Package Sidebar

Install

npm i @types/autoprefixer-core

Weekly Downloads

1,665

Version

5.1.34

License

MIT

Unpacked Size

4 kB

Total Files

5

Last publish

Collaborators

  • types