UNPKG

641 BTypeScriptView Raw
1// Type definitions for postcss-modules-extract-imports 2.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/huan086/postcss-plugins-typings
5// TypeScript Version: 2.2
6
7import { Plugin } from "postcss";
8
9declare namespace extractImports {
10 interface Options {
11 failOnWrongOrder?: boolean;
12 createImportedName?: (importName: string, importPath: string) => string;
13 }
14
15 type ExtractImports = Plugin<Options>;
16}
17
18declare const extractImports: extractImports.ExtractImports;
19export = extractImports;