From 4547d3f8179b68aa3730cf229df8d676b84284a0 Mon Sep 17 00:00:00 2001 From: Ben McCann <322311+benmccann@users.noreply.github.com> Date: Tue, 11 Apr 2023 13:59:13 -0700 Subject: [PATCH] add a new @ts-ignore --- src/compiler/compile/Component.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/compiler/compile/Component.ts b/src/compiler/compile/Component.ts index ced0326708..165187aa7c 100644 --- a/src/compiler/compile/Component.ts +++ b/src/compiler/compile/Component.ts @@ -144,6 +144,7 @@ export default class Component { .replace(regex_leading_directory_separator, '') : compile_options.filename); const locator = getLocator(this.source, { offsetLine: 1 }); + // @ts-ignore - fix the type of CompileOptions.sourcemap const tracer = compile_options.sourcemap ? new TraceMap(compile_options.sourcemap) : undefined; this.locate = (c) => { let location: { line: number, column: number } = locator(c);