mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-06-28 14:20:12 +00:00
[postcss-icss-values] Add Typescript definitions.
This commit is contained in:
10
types/postcss-icss-values/index.d.ts
vendored
Normal file
10
types/postcss-icss-values/index.d.ts
vendored
Normal file
@@ -0,0 +1,10 @@
|
||||
// Type definitions for postcss-icss-values 2.0
|
||||
// Project: https://github.com/css-modules/postcss-icss-values
|
||||
// Definitions by: Jeow Li Huan <https://github.com/huan086>
|
||||
// Definitions: https://github.com/huan086/postcss-plugins-typings
|
||||
// TypeScript Version: 2.2
|
||||
|
||||
import { Plugin } from "postcss";
|
||||
|
||||
declare const values: Plugin<{}>;
|
||||
export = values;
|
||||
6
types/postcss-icss-values/package.json
Normal file
6
types/postcss-icss-values/package.json
Normal file
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"private": true,
|
||||
"dependencies": {
|
||||
"postcss": "7.x.x"
|
||||
}
|
||||
}
|
||||
4
types/postcss-icss-values/postcss-icss-values-tests.ts
Normal file
4
types/postcss-icss-values/postcss-icss-values-tests.ts
Normal file
@@ -0,0 +1,4 @@
|
||||
import values = require("postcss-icss-values");
|
||||
import { Transformer } from "postcss";
|
||||
|
||||
const ap1: Transformer = values();
|
||||
23
types/postcss-icss-values/tsconfig.json
Normal file
23
types/postcss-icss-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-icss-values-tests.ts"
|
||||
]
|
||||
}
|
||||
1
types/postcss-icss-values/tslint.json
Normal file
1
types/postcss-icss-values/tslint.json
Normal file
@@ -0,0 +1 @@
|
||||
{ "extends": "dtslint/dt.json" }
|
||||
Reference in New Issue
Block a user