UNPKG

1.25 kBMarkdownView Raw
1# Installation
2> `npm install --save @types/postcss-modules-values`
3
4# Summary
5This package contains type definitions for postcss-modules-values (https://github.com/css-modules/postcss-modules-values#readme).
6
7# Details
8Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/postcss-modules-values.
9## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/postcss-modules-values/index.d.ts)
10````ts
11// Type definitions for postcss-modules-values 4.0
12// Project: https://github.com/css-modules/postcss-modules-values#readme
13// Definitions by: Bob Matcuk <https://github.com/bmatcuk>
14// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
15// TypeScript Version: 2.2
16
17import { PluginCreator } from "postcss";
18
19declare namespace values {
20 interface Options {
21 createImportedName(name: string): string;
22 }
23}
24
25declare const creator: PluginCreator<values.Options>;
26
27export = creator;
28
29````
30
31### Additional Details
32 * Last updated: Thu, 18 Nov 2021 19:01:41 GMT
33 * Dependencies: [@types/postcss](https://npmjs.com/package/@types/postcss)
34 * Global values: none
35
36# Credits
37These definitions were written by [Bob Matcuk](https://github.com/bmatcuk).
38
\No newline at end of file