Files
DefinitelyTyped/gl-matrix/tsconfig.json
Michael Lamparski 785ec847ef Make gl-matrix null-aware
Got bitten by nulls arising from matrix inverses.

Pretty much every change in this commit came from a simple textual
search for explicit appearances of "null" and "undefined" in
https://github.com/toji/gl-matrix/blob/master/src/gl-matrix.js.

Additional things I checked: (all of which turned up nothing)

* Checked each null-returning function for others that call it.
* Glanced through for other suspicious places where null/undefined
  might crop up implicitly. However, almost every function in the
  library simply mutates one of its arguments in a manner that should
  respect the type invariants, and returns it. Nothing stuck out to me.
* Double-checked newer files in
  https://github.com/toji/gl-matrix/tree/master/src/gl-matrix
2016-11-14 16:28:59 -05:00

20 lines
400 B
JSON

{
"compilerOptions": {
"module": "commonjs",
"target": "es6",
"noImplicitAny": true,
"strictNullChecks": true,
"baseUrl": "../",
"typeRoots": [
"../"
],
"types": [],
"noEmit": true,
"forceConsistentCasingInFileNames": true
},
"files": [
"index.d.ts",
"gl-matrix-tests.ts"
]
}