# mod.ts
export interface I {
p: string;
po?: number;
readonly pro: string;
[pc]: string;
}
# diagnostics
error[missing-jsdoc]: exported symbol is missing JSDoc documentation
--> /mod.ts:1:18
|
1 | export interface I {
| ^
error[missing-jsdoc]: exported symbol is missing JSDoc documentation
--> /mod.ts:2:3
|
2 | p: string;
| ^
error[missing-jsdoc]: exported symbol is missing JSDoc documentation
--> /mod.ts:3:3
|
3 | po?: number;
| ^
error[missing-jsdoc]: exported symbol is missing JSDoc documentation
--> /mod.ts:4:12
|
4 | readonly pro: string;
| ^
error[missing-jsdoc]: exported symbol is missing JSDoc documentation
--> /mod.ts:5:3
|
5 | [pc]: string;
| ^
# output.txt
Defined in file:///mod.ts:0:1
interface I
p: string
po?: number
readonly pro: string
[pc]: string
# output.json
{
"symbols": [
{
"name": "I",
"declarations": [
{
"location": {
"filename": "file:///mod.ts",
"line": 0,
"col": 0,
"byteIndex": 0
},
"declarationKind": "export",
"kind": "interface",
"def": {
"properties": [
{
"name": "p",
"location": {
"filename": "file:///mod.ts",
"line": 1,
"col": 2,
"byteIndex": 23
},
"tsType": {
"repr": "string",
"kind": "keyword",
"value": "string"
}
},
{
"name": "po",
"location": {
"filename": "file:///mod.ts",
"line": 2,
"col": 2,
"byteIndex": 36
},
"optional": true,
"tsType": {
"repr": "number",
"kind": "keyword",
"value": "number"
}
},
{
"name": "pro",
"location": {
"filename": "file:///mod.ts",
"line": 3,
"col": 2,
"byteIndex": 51
},
"readonly": true,
"tsType": {
"repr": "string",
"kind": "keyword",
"value": "string"
}
},
{
"name": "pc",
"location": {
"filename": "file:///mod.ts",
"line": 4,
"col": 2,
"byteIndex": 75
},
"computed": true,
"tsType": {
"repr": "string",
"kind": "keyword",
"value": "string"
}
}
]
}
}
]
}
]
}