@types/autoprefixer
Advanced tools
Comparing version 9.6.1 to 9.7.0
@@ -1,2 +0,2 @@ | ||
// Type definitions for autoprefixer 9.6 | ||
// Type definitions for autoprefixer 9.7 | ||
// Project: https://github.com/postcss/autoprefixer | ||
@@ -6,2 +6,3 @@ // Definitions by: Armando Meziat <https://github.com/odnamrataizem> | ||
// Slava Fomin II <https://github.com/slavafomin> | ||
// Piotr Błażejewicz <https://github.com/peterblazejewicz> | ||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped | ||
@@ -14,19 +15,42 @@ // TypeScript Version: 2.7 | ||
declare namespace autoprefixer { | ||
type BrowserslistTarget = (string | string[] | { [key: string]: string[]; }); | ||
type BrowserslistTarget = string | string[] | { [key: string]: string[] }; | ||
interface Options { | ||
/** environment for `Browserslist` */ | ||
env?: string; | ||
/** should Autoprefixer use Visual Cascade, if CSS is uncompressed */ | ||
cascade?: boolean; | ||
/** should Autoprefixer add prefixes. */ | ||
add?: boolean; | ||
/** should Autoprefixer [remove outdated] prefixes */ | ||
remove?: boolean; | ||
/** should Autoprefixer add prefixes for @supports parameters. */ | ||
supports?: boolean; | ||
/** should Autoprefixer add prefixes for flexbox properties */ | ||
flexbox?: boolean | 'no-2009'; | ||
/** should Autoprefixer add IE 10-11 prefixes for Grid Layout properties */ | ||
grid?: false | 'autoplace' | 'no-autoplace'; | ||
/** custom usage statistics for > 10% in my stats browsers query */ | ||
stats?: Stats; | ||
/** @deprecated Replace Autoprefixer `browsers` option to `Browserslist` config */ | ||
browsers?: string[] | string; | ||
/** list of queries for target browsers */ | ||
overrideBrowserslist?: BrowserslistTarget; | ||
/** do not raise error on unknown browser version in `Browserslist` config. */ | ||
ignoreUnknownVersions?: boolean; | ||
} | ||
type Autoprefixer = Plugin<Options>; | ||
interface ExportedAPI { | ||
/** Autoprefixer data */ | ||
data: { | ||
browsers: any; | ||
prefixes: any; | ||
}; | ||
/** Autoprefixer default browsers */ | ||
defaults: any; | ||
/** Inspect with default Autoprefixer */ | ||
info(): void; | ||
} | ||
type Autoprefixer = Plugin<Options> & ExportedAPI; | ||
} | ||
@@ -33,0 +57,0 @@ |
{ | ||
"name": "@types/autoprefixer", | ||
"version": "9.6.1", | ||
"version": "9.7.0", | ||
"description": "TypeScript definitions for autoprefixer", | ||
@@ -21,6 +21,11 @@ "license": "MIT", | ||
"githubUsername": "slavafomin" | ||
}, | ||
{ | ||
"name": "Piotr Błażejewicz", | ||
"url": "https://github.com/peterblazejewicz", | ||
"githubUsername": "peterblazejewicz" | ||
} | ||
], | ||
"main": "", | ||
"types": "index", | ||
"types": "index.d.ts", | ||
"repository": { | ||
@@ -36,4 +41,4 @@ "type": "git", | ||
}, | ||
"typesPublisherContentHash": "cabd0b2a9209f403d89287dc94890d8dc8eb5e5a5d66e4e6ede3be9352125876", | ||
"typeScriptVersion": "2.7" | ||
"typesPublisherContentHash": "ab9ac1d045a941a325d9152ae3387c8b0d5f7d45e4e219b4b4e21b5867b018bb", | ||
"typeScriptVersion": "2.8" | ||
} |
@@ -8,10 +8,10 @@ # Installation | ||
# Details | ||
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/autoprefixer | ||
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/autoprefixer. | ||
Additional Details | ||
* Last updated: Mon, 19 Aug 2019 18:22:49 GMT | ||
* Dependencies: @types/postcss, @types/browserslist | ||
### Additional Details | ||
* Last updated: Fri, 14 Feb 2020 01:36:37 GMT | ||
* Dependencies: [@types/postcss](https://npmjs.com/package/@types/postcss), [@types/browserslist](https://npmjs.com/package/@types/browserslist) | ||
* Global values: none | ||
# Credits | ||
These definitions were written by Armando Meziat <https://github.com/odnamrataizem>, murt <https://github.com/murt>, and Slava Fomin II <https://github.com/slavafomin>. | ||
These definitions were written by Armando Meziat (https://github.com/odnamrataizem), murt (https://github.com/murt), Slava Fomin II (https://github.com/slavafomin), and Piotr Błażejewicz (https://github.com/peterblazejewicz). |
5438
51