From 2c4d99a4586a8aa143feb8614e3b0d4de09dd190 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kamil=20Og=C3=B3rek?= Date: Thu, 5 Sep 2024 10:51:40 +0200 Subject: feat: include version number in all --json based outputs (#25335) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Bartek IwaƄczuk --- tests/specs/doc/json/json.out | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 tests/specs/doc/json/json.out (limited to 'tests/specs/doc/json/json.out') diff --git a/tests/specs/doc/json/json.out b/tests/specs/doc/json/json.out new file mode 100644 index 000000000..ae1b02596 --- /dev/null +++ b/tests/specs/doc/json/json.out @@ -0,0 +1,28 @@ +{ + "version": 1, + "nodes": [ + { + "name": "foo", + "isDefault": false, + "location": { + "filename": "file:///[WILDCARD]/types.d.ts", + "line": 2, + "col": 13, + "byteIndex": 39 + }, + "declarationKind": "export", + "jsDoc": { + "doc": "An exported value." + }, + "kind": "variable", + "variableDef": { + "tsType": { + "repr": "string", + "kind": "keyword", + "keyword": "string" + }, + "kind": "const" + } + } + ] +} -- cgit v1.2.3