fix: get rid of readonly for the Location type

(only caused headaches)
This commit is contained in:
2025-01-09 00:10:15 +02:00
parent 22f36267c0
commit 36f9839485

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 SourceMap = (loc: Location) => Location | undefined;
type CompilerFactory = (next: Compiler) => Compiler; type CompilerFactory = (next: Compiler) => Compiler;