DefinitelyTyped/types/css-modules/tsconfig.json
Neek Sandhu 4eb2295312 Add types for css-modules
Enables users to `import styles from '../main.css'` in your TypeScript files.
From there on, assuming user is using `webpack` with `css-loader`, they can also do `styles.toString()` or `classNames(styles.productLabel...` without any squiggly lines, instead works with intellisense beautifully (both of ops have `string` as return type)
2017-07-11 22:17:11 -07:00

22 lines
476 B
JSON

{
"compilerOptions": {
"module": "commonjs",
"lib": [
"es6"
],
"noImplicitAny": true,
"noImplicitThis": true,
"strictNullChecks": false,
"baseUrl": "../",
"typeRoots": [
"../"
],
"types": [],
"noEmit": true,
"forceConsistentCasingInFileNames": true
},
"files": [
"index.d.ts",
"css-modules-tests.ts"
]
}