@types/postcss-modules-extract-imports
Version:
TypeScript definitions for postcss-modules-extract-imports
31 lines (23 loc) • 1.1 kB
Markdown
# Installation
> `npm install --save @types/postcss-modules-extract-imports`
# Summary
This package contains type definitions for postcss-modules-extract-imports (https://github.com/css-modules/postcss-modules-extract-imports).
# Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/postcss-modules-extract-imports.
## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/postcss-modules-extract-imports/index.d.ts)
````ts
import { PluginCreator } from "postcss";
declare namespace extractImports {
interface Options {
failOnWrongOrder?: boolean | undefined;
createImportedName?: ((importName: string, importPath: string) => string) | undefined;
}
}
declare const extractImports: PluginCreator<extractImports.Options>;
export = extractImports;
````
### Additional Details
* Last updated: Tue, 07 Nov 2023 09:09:39 GMT
* Dependencies: [postcss](https://npmjs.com/package/postcss)
# Credits
These definitions were written by [Jeow Li Huan](https://github.com/huan086).