question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Support @emit decorator

See original GitHub issue

Hi,

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:closed
  • Created 5 years ago
  • Comments:11 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
JessicaSachscommented, Mar 18, 2019

For some more context @elevatebart, @Emit is in the same class of enhancements as @Prop. They’re from the same package.

0reactions
claudiomedinacommented, May 11, 2021

Nice catch!!

I’ll release a fix ASAP

Thank you again

@elevatebart are you planning to fix this any time soon?

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found