Convert signal.js and preload.js to Typescript
This commit is contained in:
parent
e18510e41c
commit
2464e0a9c1
94 changed files with 2113 additions and 1848 deletions
|
@ -28,6 +28,10 @@ describe('license comments', () => {
|
|||
[firstLine, secondLine] = await readFirstLines(file, 2);
|
||||
}
|
||||
|
||||
if (!firstLine || !secondLine) {
|
||||
throw new Error(`file ${file}: was missing a first or second line!`);
|
||||
}
|
||||
|
||||
const { groups = {} } =
|
||||
firstLine.match(
|
||||
/Copyright (?<startYearWithDash>\d{4}-)?(?<endYearString>\d{4}) Signal Messenger, LLC/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue