Adding Functions to Existing Prototypes #coding #typescript #globals #nodejs #api #string

preview_player
Показать описание
A quick and easy way using Typescript to declare a new function in an existing interface / prototype.
Рекомендации по теме
Комментарии
Автор

"Congrats, you are basically a pro".
Nope, you are setting yourself and your team for a disaster.
Extending prototypes of built-ins is always a bad idea, period.

dominikmlynarczyk
join shbcf.ru