From 3a64c8cc000889ab631c263c8484aa60eed48211 Mon Sep 17 00:00:00 2001 From: Alex Gherghisan Date: Mon, 23 Oct 2023 12:44:56 +0100 Subject: [PATCH] fix: ts definition of diagnostic --- compiler/wasm/src/errors.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compiler/wasm/src/errors.rs b/compiler/wasm/src/errors.rs index 57295916dc5..9aafcadc27f 100644 --- a/compiler/wasm/src/errors.rs +++ b/compiler/wasm/src/errors.rs @@ -10,7 +10,7 @@ use noirc_errors::FileDiagnostic; const DIAGNOSTICS: &'static str = r#" export type Diagnostic = { message: string; - file_path: string; + file: string; secondaries: ReadonlyArray<{ message: string; start: number;