DefinitelyTyped/types/node-sass/tsconfig.json
Chris Eppstein 04f71b3cdc Update node-sass typings.
This patch adds types for the javascript representation of sass data
types. Building on that, there are updates to the definitions of the
importer and functions options to be more specific and avoid the use of
any for arguments passed to functions from node-sass.

The context objects and async APIs are bifurcated so that it is illegal
to pass async functions to a synchronous compilation.

This patch is a likely breaking change for anyone who's using types with
node-sass, especially if they're working with importers or function
declarations. Because node-sass is now at 4.11, I recommend a major
and minor version bump to match the latest version of node-sass
`4.11.0`. This will prevent existing users of @types/node-sass from
breaking.
2019-02-12 17:48:03 -08:00

23 lines
489 B
JSON

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