Update TypeScript to 4.9.3

This commit is contained in:
Fedor Indutny 2022-11-22 14:46:21 -08:00 committed by GitHub
parent 1bff385805
commit b4b477e44c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 27 additions and 7 deletions

View file

@ -32,7 +32,7 @@ describe('license comments', () => {
const { groups = {} } =
firstLine.match(
/Copyright (?<startYearWithDash>\d{4}-)?(?<endYearString>\d{4}) Signal Messenger, LLC/
) || [];
) || {};
const { startYearWithDash, endYearString } = groups;
const endYear = Number(endYearString);