added definitions for postcss-modules-values (#36051)

This commit is contained in:
Bob Matcuk 2019-06-13 20:07:47 -07:00 committed by Ron Buckton
parent 02533cf4b6
commit 576fe4a44d
5 changed files with 44 additions and 0 deletions

10
types/postcss-modules-values/index.d.ts vendored Normal file
View 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;

View File

@ -0,0 +1,6 @@
{
"private": true,
"dependencies": {
"postcss": "^7.0.0"
}
}

View File

@ -0,0 +1,4 @@
import values = require("postcss-modules-values");
import { Transformer } from "postcss";
const plugin: Transformer = values();

View 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"
]
}

View File

@ -0,0 +1 @@
{ "extends": "dtslint/dt.json" }