DefinitelyTyped/types/knuth-shuffle/tsconfig.json
Chris Atkin 809c9fe482 Add types for knuth-shuffle (#41259)
* Add types for knuth-shuffle

This adds types for the [`knuth-shuffle`](https://www.npmjs.com/package/knuth-shuffle)  package.

* Correct return type to be same as passed array

This corrects the return type for the `knuthShuffle` function, as it returns an array of the same type (specifically, the same array!), rather than `void`.

* Correct tests
2020-01-02 16:55:32 -08:00

24 lines
494 B
JSON

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