Commit Graph

50 Commits

Author SHA1 Message Date
Johannes Rieken
0a27e9437a eng - more strict null checks 2018-10-16 15:25:21 +02:00
Johannes Rieken
453b31b4ef eng - strict null checks 2018-10-16 15:13:08 +02:00
isidor
7687a1473d null checks: label service
#60565
2018-10-16 11:14:53 +02:00
Matt Bierner
fb606be779 Add typings for strict null checks 2018-10-15 18:48:49 -07:00
Matt Bierner
148c2c41ad Auto adding files for strict nulls
#60565
2018-10-15 18:23:34 -07:00
Matt Bierner
04c118d1d8 Fixing a few strict null errors
#60565
2018-10-15 18:22:01 -07:00
Matt Bierner
66c88aa2bc Auto adding files
#60565
2018-10-15 12:58:18 -07:00
Matt Bierner
1815897415 Auto add strict nulls
#60565
2018-10-15 12:58:18 -07:00
Alex Dima
b72fede474 strict null checks (#60565) 2018-10-15 17:25:08 +02:00
Daniel Imms
89fa49400b Strict null check terminal Eneironment/actions
Part of #60565
2018-10-15 08:23:02 -07:00
Martin Aeschlimann
957518fdff [folding] add null checks 2018-10-15 15:36:03 +02:00
Alex Dima
5d645696cc strict null checks (#60565) 2018-10-15 15:19:52 +02:00
Alex Dima
2e33dbc714 strict null checks (#60565) 2018-10-15 10:30:49 +02:00
Matt Bierner
36aa4dfd23 Temporarily remove shell helper
This file causes tsc to fail (even in normal compiles)
2018-10-12 16:23:36 -07:00
Alex Dima
1e2b78d601 strict null checks (#60565) 2018-10-13 01:22:15 +02:00
Alex Dima
49f8bfbc42 Remove editor contribs that have incorrect assumptions about editor API 2018-10-13 00:07:50 +02:00
Alex Dima
9a2bacc635 strict null checks (#60565) 2018-10-13 00:05:14 +02:00
Matt Bierner
68b9bd59e4 Exclude duplicate typings file on windows
Workaround since normal builds still work here
2018-10-12 14:30:25 -07:00
Matt Bierner
3b30105213 Use files instead of includes
Seems that having a super long includes section crashes tsc on windows
2018-10-12 14:23:27 -07:00
Matt Bierner
cadd6586c6 Auto add to strict null checks 2018-10-12 12:57:19 -07:00
Alex Dima
5bd13a8cee More strict null checks (#60565) 2018-10-12 17:53:47 +02:00
Daniel Imms
4eb61b9ada Strict null check windowsShellHelper.ts
Part of #60565
2018-10-12 08:44:32 -07:00
Daniel Imms
7087e41ee5 Strict null check terminalCommandTracker.ts 2018-10-12 08:42:45 -07:00
Alex Dima
26e3925377 strict null checks (#60565) 2018-10-12 11:57:16 +02:00
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