UNPKG

@types/postcss-modules-extract-imports

Version:
36 lines (28 loc) 1.4 kB
# 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 // Type definitions for postcss-modules-extract-imports 3.0 // Project: https://github.com/css-modules/postcss-modules-extract-imports // Definitions by: Jeow Li Huan <https://github.com/huan086> // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped 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: Sun, 24 Sep 2023 06:37:28 GMT * Dependencies: [@types/postcss](https://npmjs.com/package/@types/postcss) * Global values: none # Credits These definitions were written by [Jeow Li Huan](https://github.com/huan086).