mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-04-01 09:01:45 +08:00
Updated tsconfig.json
Changed strictNullCheck to true
This commit is contained in:
@@ -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) => { });
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
],
|
||||
"noImplicitAny": true,
|
||||
"noImplicitThis": true,
|
||||
"strictNullChecks": false,
|
||||
"strictNullChecks": true,
|
||||
"baseUrl": "../",
|
||||
"typeRoots": [
|
||||
"../"
|
||||
|
||||
Reference in New Issue
Block a user