DEV Community

Discussion on: Understanding TypeScript decorators.

Collapse
 
pstueck profile image
pstueck

Mhm … is it just me or are some examples really inconsistent/unverified?

As in creating "gun", but logging the ammo of "car"?
Or stating to call "fire" with minimum ammo decorator although the function changed its name to fireTwice?

Collapse
 
alfredosalzillo profile image
Alfredo Salzillo

All the likes and saves of this article. People that don't read the article.

Collapse
 
siddharthshyniben profile image
Siddharth • Edited

As in creating "gun", but logging the ammo of "car"?
Or stating to call "fire" with minimum ammo decorator although the function changed its name to fireTwice?

Whoops, my bad. Fixed them all. Thanks for pointing out!