Move PHP extension to strict mode

Compile the PHP extension with strict mode TS. Mostly adding annotations where values can be null or undefined.
This commit is contained in:
Matt Bierner
2017-11-06 14:20:53 -08:00
parent e5b9b820ef
commit 6bab0e0cc0
6 changed files with 34 additions and 31 deletions

View File

@@ -5,7 +5,8 @@
"es2015"
],
"module": "commonjs",
"outDir": "./out"
"outDir": "./out",
"strict": true
},
"include": [
"src/**/*"