We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I have following class: class LocalStorage { constructor(prefix: string = '') { } }
class LocalStorage { constructor(prefix: string = '') { } }
ESdocs will describe it as:
prefix | string | optional, default: undefined
But default is not undefined, it is empty string.
When I try class LocalStorage { constructor(prefix: string = 'x') { } }
class LocalStorage { constructor(prefix: string = 'x') { } }
Results is prefix | string | optional, default: x
Which is ok. Problem is only in empty string. My config is:
{ "source": "./src", "destination": "./docs", "excludes": ["index.js"], "plugins": [ { "name": "esdoc-standard-plugin" }, {"name": "esdoc-flow-type-plugin", "option": {"enable": true}}, {"name": "esdoc-ecmascript-proposal-plugin", "option": {"all": true}} ] }
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I have following class:
class LocalStorage { constructor(prefix: string = '') { } }
ESdocs will describe it as:
prefix | string | optional, default: undefined
But default is not undefined, it is empty string.
When I try
class LocalStorage { constructor(prefix: string = 'x') { } }
Results is
prefix | string | optional, default: x
Which is ok. Problem is only in empty string. My config is:
The text was updated successfully, but these errors were encountered: