esdoc-plugins
esdoc-plugins copied to clipboard
Interfaces don't work on esdoc-typescript-plugin
Using esdoc-typescript-plugin the plugin throws exceptions when trying to parse a typescript file containing an interface. The error specifically says "interface is a reserved word in strict mode"
See attachments:
Error.txt
Eslint Configuration:
{
"source": "./src",
"includes": ["\\.tsx?$"],
"destination": "./docs",
"plugins": [
{
"name": "esdoc-standard-plugin",
"test": {
"source": "./__tests__",
"includes": ["\\.(test|Test|spec|Spec)\\.tsx?$"]
},
"coverage": { "enable": true },
"undocumentIdentifier": { "enable": true },
"unexportIdentifier": { "enable": true }
},
{ "name": "esdoc-typescript-plugin"},
{ "name": "esdoc-jsx-plugin"},
{"name": "esdoc-react-plugin"}
]
}