fix: get rid of readonly for the Location type

(only caused headaches)
This commit is contained in:
TopchetoEU 2025-01-09 00:10:15 +02:00
parent 22f36267c0
commit 36f9839485
Signed by: topchetoeu
GPG Key ID: 6531B8583E5F6ED4

View File

@ -1,4 +1,4 @@
type Location = readonly [file: string, line: number, start: number];
type Location = [file: string, line: number, start: number];
type SourceMap = (loc: Location) => Location | undefined;
type CompilerFactory = (next: Compiler) => Compiler;