esdoc-plugins icon indicating copy to clipboard operation
esdoc-plugins copied to clipboard

Interfaces don't work on esdoc-typescript-plugin

Open mikeyGlitz opened this issue 8 years ago • 0 comments

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

LoginForm.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"}
]
}

mikeyGlitz avatar Aug 12 '17 23:08 mikeyGlitz