chore(users/Profpatsch/lyric): add typescript linting rules

Change-Id: I9ab0336450519648f7a8edeec94bd64b78e2f05b
Reviewed-on: https://cl.tvl.fyi/c/depot/+/12554
Tested-by: BuildkiteCI
Reviewed-by: Profpatsch <mail@profpatsch.de>
This commit is contained in:
Profpatsch 2024-10-01 03:54:36 +02:00
parent 102c9b30a7
commit ad711b15a0
6 changed files with 140 additions and 89 deletions

View file

@ -416,7 +416,7 @@ class Ext {
if (!match) {
return;
}
const [, timestamp, text] = match!;
const [, timestamp, text] = match;
const milliseconds = parseTimestamp(timestamp);
const seconds = milliseconds / 1000;
return { milliseconds, seconds, text };