mirror of
https://github.com/denoland/deno.git
synced 2024-12-23 07:44:48 -05:00
8acf059ac6
As pointed out in https://github.com/denoland/deno/issues/21067 , it's confusing that `deno doc --lint mod.ts` outputs the documentation to stdout on success. Instead, it would be better if it outputted how many files were checked similar to what `deno lint` does on success. It still outputs the documentation if `--lint` or `--html` are provided so this is non-breaking.
48 lines
1 KiB
Text
48 lines
1 KiB
Text
[
|
|
{
|
|
"kind": "class",
|
|
"name": "Test",
|
|
"location": {
|
|
"filename": "file:///[WILDCARD]/lint_success.ts",
|
|
"line": 2,
|
|
"col": 0
|
|
},
|
|
"declarationKind": "export",
|
|
"jsDoc": {
|
|
"doc": "My test class."
|
|
},
|
|
"classDef": {
|
|
"isAbstract": false,
|
|
"constructors": [],
|
|
"properties": [
|
|
{
|
|
"jsDoc": {
|
|
"doc": "My property."
|
|
},
|
|
"tsType": {
|
|
"repr": "string",
|
|
"kind": "keyword",
|
|
"keyword": "string"
|
|
},
|
|
"readonly": false,
|
|
"accessibility": null,
|
|
"optional": false,
|
|
"isAbstract": false,
|
|
"isStatic": false,
|
|
"name": "prop",
|
|
"location": {
|
|
"filename": "file:///[WILDCARD]/lint_success.ts",
|
|
"line": 4,
|
|
"col": 2
|
|
}
|
|
}
|
|
],
|
|
"indexSignatures": [],
|
|
"methods": [],
|
|
"extends": null,
|
|
"implements": [],
|
|
"typeParams": [],
|
|
"superTypeParams": []
|
|
}
|
|
}
|
|
]
|