Skip to content

Commit 8ab012d

Browse files
committed
Drop spurious non-null assertion
1 parent 1b3bdb2 commit 8ab012d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/server/session.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -379,7 +379,7 @@ namespace ts.server {
379379
// have started the other project searches from related symbols. Propagate the
380380
// correct results to all other projects.
381381

382-
const defaultProjectResults = perProjectResults.get(defaultProject)!;
382+
const defaultProjectResults = perProjectResults.get(defaultProject);
383383
if (defaultProjectResults?.[0].references[0]?.isDefinition === undefined) {
384384
// Clear all isDefinition properties
385385
perProjectResults.forEach(projectResults => {

0 commit comments

Comments
 (0)