Skip to content

Commit e6282ce

Browse files
Accept baseline for tscWatch test with alwaysStrict deprecation
Co-authored-by: RyanCavanaugh <[email protected]>
1 parent 6a17477 commit e6282ce

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

tests/baselines/reference/tscWatch/programUpdates/updates-errors-when-strictNullChecks-changes.js

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -157,10 +157,10 @@ Output::
157157
>> Screen clear
158158
[HH:MM:SS AM] File change detected. Starting incremental compilation...
159159

160-
[96ma.ts[0m:[93m2[0m:[93m1[0m - [91merror[0m[90m TS2531: [0mObject is possibly 'null'.
160+
[96mtsconfig.json[0m:[93m4[0m:[93m21[0m - [91merror[0m[90m TS5107: [0mOption 'alwaysStrict=false' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error.
161161

162-
[7m2[0m foo().hello
163-
[7m [0m [91m~~~~~[0m
162+
[7m4[0m "alwaysStrict": false
163+
[7m [0m [91m ~~~~~[0m
164164

165165
[HH:MM:SS AM] Found 1 error. Watching for file changes.
166166

@@ -182,9 +182,7 @@ Program files::
182182
/home/src/tslibs/TS/Lib/lib.d.ts
183183
/user/username/projects/myproject/a.ts
184184

185-
Semantic diagnostics in builder refreshed for::
186-
/home/src/tslibs/TS/Lib/lib.d.ts
187-
/user/username/projects/myproject/a.ts
185+
No cached semantic diagnostics in the builder::
188186

189187
No shapes updated in the builder::
190188

0 commit comments

Comments
 (0)