summaryrefslogtreecommitdiff
path: root/tests/specs/doc/json/json.out
diff options
context:
space:
mode:
authorKamil Ogórek <kamil.ogorek@gmail.com>2024-09-05 10:51:40 +0200
committerGitHub <noreply@github.com>2024-09-05 08:51:40 +0000
commit2c4d99a4586a8aa143feb8614e3b0d4de09dd190 (patch)
tree0c07ee12254da10d9710616be8cc98a32c0f35c7 /tests/specs/doc/json/json.out
parent49340b96f6b3603186e03f0102b99bc4a34a1b63 (diff)
feat: include version number in all --json based outputs (#25335)
Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com>
Diffstat (limited to 'tests/specs/doc/json/json.out')
-rw-r--r--tests/specs/doc/json/json.out28
1 files changed, 28 insertions, 0 deletions
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"
+ }
+ }
+ ]
+}