mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
added definitions for postcss-modules-values (#36051)
This commit is contained in:
parent
02533cf4b6
commit
576fe4a44d
10
types/postcss-modules-values/index.d.ts
vendored
Normal file
10
types/postcss-modules-values/index.d.ts
vendored
Normal file
@ -0,0 +1,10 @@
|
||||
// Type definitions for postcss-modules-values 3.0
|
||||
// Project: https://github.com/css-modules/postcss-modules-values#readme
|
||||
// Definitions by: Bob Matcuk <https://github.com/bmatcuk>
|
||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
||||
// TypeScript Version: 2.2
|
||||
|
||||
import { Plugin } from "postcss";
|
||||
|
||||
declare const values: Plugin<void>;
|
||||
export = values;
|
||||
6
types/postcss-modules-values/package.json
Normal file
6
types/postcss-modules-values/package.json
Normal file
@ -0,0 +1,6 @@
|
||||
{
|
||||
"private": true,
|
||||
"dependencies": {
|
||||
"postcss": "^7.0.0"
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,4 @@
|
||||
import values = require("postcss-modules-values");
|
||||
import { Transformer } from "postcss";
|
||||
|
||||
const plugin: Transformer = values();
|
||||
23
types/postcss-modules-values/tsconfig.json
Normal file
23
types/postcss-modules-values/tsconfig.json
Normal file
@ -0,0 +1,23 @@
|
||||
{
|
||||
"compilerOptions": {
|
||||
"module": "commonjs",
|
||||
"lib": [
|
||||
"es6"
|
||||
],
|
||||
"noImplicitAny": true,
|
||||
"noImplicitThis": true,
|
||||
"strictNullChecks": true,
|
||||
"strictFunctionTypes": true,
|
||||
"baseUrl": "../",
|
||||
"typeRoots": [
|
||||
"../"
|
||||
],
|
||||
"types": [],
|
||||
"noEmit": true,
|
||||
"forceConsistentCasingInFileNames": true
|
||||
},
|
||||
"files": [
|
||||
"index.d.ts",
|
||||
"postcss-modules-values-tests.ts"
|
||||
]
|
||||
}
|
||||
1
types/postcss-modules-values/tslint.json
Normal file
1
types/postcss-modules-values/tslint.json
Normal file
@ -0,0 +1 @@
|
||||
{ "extends": "dtslint/dt.json" }
|
||||
Loading…
Reference in New Issue
Block a user