Comments (1)
Yeah this is an issue with jsdoc's parsing of ES6 modules. It doesn't do great job of it. The workarounds are to use named exports or to name your thing and export it as default later:
/**
* @class
*/
class MyThing {}
export default MyThing;
from tsd-jsdoc.
Related Issues (20)
- ESLint for jsdoc doesn't recognize type `Class<T>` but does support `typeof T`
- @module name quotation marks included in declare module string
- Class specific callbacks HOT 11
- Incorrect warning: Failed to find parent of doclet HOT 4
- `@template` tag does not generate generic parameters HOT 2
- Possible to mark typedef / interface properties as readonly? HOT 2
- Using the word typeof in a doc comment breaks tsd-jsdoc output
- Syntax to get `this: this` into typings for function? HOT 2
- feature request: output filename
- How to generate with a ES5 JS file that is dependent on another library?
- Cannot instantiate type Cesium.Property. HOT 1
- keys may need quotes HOT 1
- Can this reexport classes?
- Support @event tag
- Add support for rest-parameter tuple types HOT 1
- Support <reference types="node" /> and adding import
- Typedefs with properties emit `type = { ... }` instead of an interface
- Support extends for typedef
- Using this library in conjunction with jsdoc-vuejs
- 'Failed to find parent of doclet' errors
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tsd-jsdoc.