Skip to content

Commit

Permalink
typecheck fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
JoshuaKGoldberg committed Jan 23, 2023
1 parent 07d8034 commit c8c0a14
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ describe('parseAndGenerateServices', () => {
expect(
parser
.parseAndGenerateServices(code, config)
.services.program.getSemanticDiagnostics(),
.services.program!.getSemanticDiagnostics(),
).toHaveProperty(
[0, 'messageText'],
"Cannot find module '__PLACEHOLDER__' or its corresponding type declarations.",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ describe('parseAndGenerateServices', () => {
...config,
moduleResolver: resolve(projectDirectory, './moduleResolver.js'),
})
.services.program.getSemanticDiagnostics(),
.services.program!.getSemanticDiagnostics(),
).toHaveLength(0);
});
});
Expand Down

0 comments on commit c8c0a14

Please sign in to comment.