From 22eaaf2c691858d1d5879bba0225261633a78e68 Mon Sep 17 00:00:00 2001 From: Dominik G Date: Tue, 14 Mar 2023 20:27:31 +0100 Subject: [PATCH] fix: format Co-authored-by: Ben McCann <322311+benmccann@users.noreply.github.com> --- src/compiler/compile/Component.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/compiler/compile/Component.ts b/src/compiler/compile/Component.ts index 3f5bd6a3b5..f6aff58467 100644 --- a/src/compiler/compile/Component.ts +++ b/src/compiler/compile/Component.ts @@ -149,7 +149,7 @@ export default class Component { const locator = getLocator(this.source, { offsetLine: 1 }); const tracer = compile_options.sourcemap ? new TraceMap(compile_options.sourcemap) : undefined; this.locate = (c) => { - let location:{line:number,column:number} = locator(c); + let location: { line: number, column: number } = locator(c); if (tracer) { location = originalPositionFor(tracer, location); }