Commit Graph

26 Commits

Author SHA1 Message Date
isidor
4716afaa20 strcit null checks
#60565
2018-10-12 11:46:17 +02:00
Alex Dima
654015a44b editor/common strict null (#60565) 2018-10-12 11:04:16 +02:00
Alex Dima
46d1426b7e Strict null checks (#60565) 2018-10-12 08:49:08 +02:00
Matt Bierner
fa0b79434b Remove windowsShellHelper from strict null checks
Currently broken for duplicated typings
2018-10-11 17:14:34 -07:00
Matt Bierner
7c0bfb91d4 strict null checks
#60565
2018-10-11 16:45:05 -07:00
Matt Bierner
ffbe67fef4 Annotate a few more null assignments 2018-10-11 16:45:05 -07:00
Matt Bierner
0318e90c93 Add null type annotations for the common x: T = null pattern
In these cases, the programmer has explicitly indicated that the type should be nullable
2018-10-11 14:13:20 -07:00
Matt Bierner
da546f5d5d Add null checks in filters and context keys 2018-10-11 13:29:11 -07:00
Alex Dima
0c403f82c3 More strict null (#60565) 2018-10-11 22:03:17 +02:00
Matt Bierner
7b1f444fe5 Fix a few more simple strict null errors 2018-10-11 09:35:36 -07:00
Matt Bierner
0b4b0dccd7 More auto adding to strict null checks 2018-10-11 09:01:40 -07:00
Matt Bierner
e7ba036a53 Auto add more files to strict null check 2018-10-11 08:50:01 -07:00
Matt Bierner
428eac303b Adding a few more files to strict null checks 2018-10-11 08:48:59 -07:00
isidor
c61e9eccb3 null checks: history.ts 2018-10-11 17:45:59 +02:00
isidor
3af9e4568d labels: strict null checks 2018-10-11 17:43:17 +02:00
Alex Dima
3ba326658d More strict null sources (#60565) 2018-10-11 17:35:17 +02:00
Daniel Imms
e6f2819b4b strictNullChecks in terminalWidgetManager
Part of #60565
2018-10-11 08:30:19 -07:00
Alex Dima
ea0a067680 Strict null check for event.ts (#60565) 2018-10-11 16:17:33 +02:00
Alex Dima
3e5bdc4571 Better typings for IteratorResult (#60565) 2018-10-11 15:50:08 +02:00
Alex Dima
740ac11a17 More strict null checks (#60565) 2018-10-11 13:04:56 +02:00
Alex Dima
ae2f5e1c92 Add more files to be strict-null checked (#60565) 2018-10-11 10:59:45 +02:00
Matt Bierner
a2738f73e5 Auto adding eligible files to strict nullchecks
Uses scripts from https://github.com/mjbvz/vscode-strict-null-check-migration-tools
2018-10-10 18:24:02 -07:00
Matt Bierner
7beb02d31e Add more files in common to strict null checks 2018-10-10 16:39:05 -07:00
Matt Bierner
77de533b5d Strict null check a few more files 2018-10-10 16:39:05 -07:00
Matt Bierner
c1d0930765 Opt a few more files into strict null checks 2018-10-10 15:14:28 -07:00
Matt Bierner
104275cb9f Add tsconfig.strictNullChecks.json
Part of #60565

Adds a new `tsconfig.strictNullChecks.json` project that does not emit anything and is only used for enabling strict null checks on a subset of the vscode codebase.

Opt `iterator.ts` into strict null checking.

Fix our build scripts to properly handle `extends`
2018-10-10 14:55:06 -07:00