@Domic wrote:
Hi,
I want to extend Math with new custom prototypes e.g. lerp and clamp.
For example Math.prototype.lerp = function(..) {..}.
But Ionic and typescript has to know this new methods. When typing in editor (vs code) these new methods must not be recognized as an error.What's the best way to do this?
Posts: 1
Participants: 1