UNPKG

610 BTypeScriptView Raw
1// Type definitions for postcss-modules-extract-imports 3.0
2// Project: https://github.com/css-modules/postcss-modules-extract-imports
3// Definitions by: Jeow Li Huan <https://github.com/huan086>
4// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
5import { PluginCreator } from 'postcss';
6
7declare namespace extractImports {
8 interface Options {
9 failOnWrongOrder?: boolean | undefined;
10 createImportedName?: ((importName: string, importPath: string) => string) | undefined;
11 }
12}
13
14declare const extractImports: PluginCreator<extractImports.Options>;
15export = extractImports;
16
\No newline at end of file