mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
19 lines
540 B
TypeScript
19 lines
540 B
TypeScript
// Type definitions for postcss-modules-scope 1.1
|
|
// Project: https://github.com/css-modules/postcss-modules-scope
|
|
// Definitions by: Jeow Li Huan <https://github.com/huan086>
|
|
// Definitions: https://github.com/huan086/postcss-plugins-typings
|
|
// TypeScript Version: 2.2
|
|
|
|
import { Plugin } from "postcss";
|
|
|
|
declare namespace scope {
|
|
interface Options {
|
|
generateScopedName?: (exportedName: string, path: string, css: string) => string;
|
|
}
|
|
|
|
type Scope = Plugin<Options>;
|
|
}
|
|
|
|
declare const scope: scope.Scope;
|
|
export = scope;
|