Updated tsconfig.json

Changed strictNullCheck to true
This commit is contained in:
Rodrigo F. Fernandes
2017-03-03 09:50:37 -03:00
parent 35b7fd0b7f
commit b6701c86cf
2 changed files with 3 additions and 4 deletions

View File

@@ -10,12 +10,11 @@ var ps = new nodePowershell(options);
// Methods
ps.addCommand('Write-Host node-powershell', [
{ name: 'foregroundcolor', value: 'red' },
{ name: 'nonewline', value: null } //switch
{ name: 'nonewline' } //switch
]).then((cmdsArr: string[]) => { }).catch((err: any) => { });
ps.addCommand('Write-Host node-powershell', [
{ foregroundcolor: 'red' },
{ nonewline: null } //switch
{ foregroundcolor: 'red' }
]);
ps.invoke().then((output: string) => { }).catch((err: any) => { });

View File

@@ -6,7 +6,7 @@
],
"noImplicitAny": true,
"noImplicitThis": true,
"strictNullChecks": false,
"strictNullChecks": true,
"baseUrl": "../",
"typeRoots": [
"../"