From 8eb67a74c08978c22f7513997940e30786ba62be Mon Sep 17 00:00:00 2001 From: MoreThanTom Date: Tue, 19 Mar 2019 00:04:23 +0000 Subject: [PATCH] Add formatted member to error class --- index.d.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/index.d.ts b/index.d.ts index 68263c699..ba573e5ca 100644 --- a/index.d.ts +++ b/index.d.ts @@ -187,6 +187,8 @@ declare module "node-sass" { class RenderError extends Error { /** The error message. */ message: string + /** The error message with line number annotation. */ + formatted: string /** The line number of error. */ line: number /** The column number of error. */