1 | # Installation
|
2 | > `npm install --save @types/postcss-modules-extract-imports`
|
3 |
|
4 | # Summary
|
5 | This package contains type definitions for postcss-modules-extract-imports (https://github.com/css-modules/postcss-modules-extract-imports).
|
6 |
|
7 | # Details
|
8 | Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/postcss-modules-extract-imports.
|
9 | ## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/postcss-modules-extract-imports/index.d.ts)
|
10 | ````ts
|
11 | // Type definitions for postcss-modules-extract-imports 3.0
|
12 | // Project: https://github.com/css-modules/postcss-modules-extract-imports
|
13 | // Definitions by: Jeow Li Huan <https://github.com/huan086>
|
14 | // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
15 | import { PluginCreator } from 'postcss';
|
16 |
|
17 | declare namespace extractImports {
|
18 | interface Options {
|
19 | failOnWrongOrder?: boolean | undefined;
|
20 | createImportedName?: ((importName: string, importPath: string) => string) | undefined;
|
21 | }
|
22 | }
|
23 |
|
24 | declare const extractImports: PluginCreator<extractImports.Options>;
|
25 | export = extractImports;
|
26 |
|
27 | ````
|
28 |
|
29 | ### Additional Details
|
30 | * Last updated: Fri, 09 Jul 2021 02:32:40 GMT
|
31 | * Dependencies: [@types/postcss](https://npmjs.com/package/@types/postcss)
|
32 | * Global values: none
|
33 |
|
34 | # Credits
|
35 | These definitions were written by [Jeow Li Huan](https://github.com/huan086).
|
36 |
|
\ | No newline at end of file |