fix: get rid of readonly for the Location type
(only caused headaches)
This commit is contained in:
parent
22f36267c0
commit
36f9839485
2
src/lib/transpiler/transpiler.d.ts
vendored
2
src/lib/transpiler/transpiler.d.ts
vendored
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user