Support @emit decorator
See original GitHub issueHi,
it’s possible ignore the emit method in the styleguist? With typescript.
For example:
/**
* @ignore
* Evento input
* @param {*} value valor de entrada
* @returns {*} devuelve valor por defecto
*/
@Emit('input')
eventInput(value: any): any {
return value;
}
Emit definition: https://github.com/kaorun343/vue-property-decorator#-emitevent-string-decorator
Thanks.
Issue Analytics
- State:
- Created 5 years ago
- Comments:11 (6 by maintainers)
Top Results From Across the Web
Support emitting typescript decorator metadata #257 - GitHub
The emitDecoratorMetadata flag is intentionally not supported. It relies on running the TypeScript type checker, which relies on running the TypeScript ...
Read more >emitDecoratorMetadata - TSConfig Option - TypeScript
emitDecoratorMetadata · Customize · Popular Documentation Pages · Using TypeScript · Community.
Read more >How to use the vue-property-decorator.Emit function in ... - Snyk
To help you get started, we've selected a few vue-property-decorator.Emit examples, based on popular ways it is used in public projects.
Read more >vue-property-decorator: How to modify the parameters of @Emit
I want to know how to modify this parameter n . I use return statement but it doesn't work. @Emit() startChange(num:any){ }.
Read more >Solving warning: “Experimental support for decorators is a ...
This article describes how to solve this warning that could be shown after use “decorators” in TypeScript. A “decorator” is a special kind...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

For some more context @elevatebart,
@Emitis in the same class of enhancements as@Prop. They’re from the same package.@elevatebart are you planning to fix this any time soon?