fireship-io / fireship.io

Build and ship your app faster https://fireship.io
3.54k stars 1.31k forks source link

lessons/ts-decorators-by-example/ #736

Open utterances-bot opened 2 years ago

utterances-bot commented 2 years ago

TypeScript Decorators by Example

Learn how to use TypeScript decorators to create elegant abstractions with JavaScript code.

https://fireship.io/lessons/ts-decorators-by-example/

gandhivardhineedi commented 2 years ago

Hi Jeff, how can I add a code that will be executed after the method runs. like, show the dialogue box depending on the method output. thanks, in advance.

strisys commented 2 years ago

Hello

I am not observing any errors on the first example of the class decorator. See playground.