From 2cb28523b17805abef72eb2a2ff36e03ed3e6aac Mon Sep 17 00:00:00 2001 From: Amir Khanjani Date: Wed, 30 Dec 2020 00:54:40 +0330 Subject: [PATCH 1/3] Added sourceInfo to ASTNode --- src/index.d.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/index.d.ts b/src/index.d.ts index f0daf4ab..c8ce488b 100644 --- a/src/index.d.ts +++ b/src/index.d.ts @@ -52,6 +52,7 @@ export interface MarkdownParser { export interface ASTNode { type: string; sourceType: string; // original source token name + sourceInfo: string; key: string; content: string; markup: string; From 80886da0dbe65c82a958d4423624f021893e128f Mon Sep 17 00:00:00 2001 From: Amir Khanjani Date: Mon, 4 Jan 2021 23:37:38 +0330 Subject: [PATCH 2/3] Added sourceMeta to ASTNode --- src/index.d.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/index.d.ts b/src/index.d.ts index c8ce488b..d51fa1c5 100644 --- a/src/index.d.ts +++ b/src/index.d.ts @@ -53,6 +53,7 @@ export interface ASTNode { type: string; sourceType: string; // original source token name sourceInfo: string; + sourceMeta: string | null; key: string; content: string; markup: string; From 585e54f86976344ebefe07ff7b383e9339cbd3be Mon Sep 17 00:00:00 2001 From: Amir Khanjani Date: Mon, 4 Jan 2021 23:53:28 +0330 Subject: [PATCH 3/3] Fixed sourceMeta type --- src/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/index.d.ts b/src/index.d.ts index d51fa1c5..ebab66b8 100644 --- a/src/index.d.ts +++ b/src/index.d.ts @@ -53,7 +53,7 @@ export interface ASTNode { type: string; sourceType: string; // original source token name sourceInfo: string; - sourceMeta: string | null; + sourceMeta: any; key: string; content: string; markup: string;