From 36f98394854548f17d277c662a6ca4c76b21d157 Mon Sep 17 00:00:00 2001 From: TopchetoEU <36534413+TopchetoEU@users.noreply.github.com> Date: Thu, 9 Jan 2025 00:10:15 +0200 Subject: [PATCH] fix: get rid of readonly for the Location type (only caused headaches) --- src/lib/transpiler/transpiler.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/transpiler/transpiler.d.ts b/src/lib/transpiler/transpiler.d.ts index 79f990a..accc3bc 100644 --- a/src/lib/transpiler/transpiler.d.ts +++ b/src/lib/transpiler/transpiler.d.ts @@ -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;