1 | // Type definitions for postcss-modules-scope 1.1
|
2 | // Project: https://github.com/css-modules/postcss-modules-scope
|
3 | // Definitions by: Jeow Li Huan <https://github.com/huan086>
|
4 | // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
5 | // TypeScript Version: 2.2
|
6 |
|
7 | import { Plugin } from "postcss";
|
8 |
|
9 | declare namespace scope {
|
10 | interface Options {
|
11 | generateScopedName?: ((exportedName: string, path: string, css: string) => string) | undefined;
|
12 | }
|
13 |
|
14 | type Scope = Plugin<Options>;
|
15 | }
|
16 |
|
17 | declare const scope: scope.Scope;
|
18 | export = scope;
|
19 |
|
\ | No newline at end of file |