Extend global type inside module declaration
I have a third-party library which extend Sting prototype with new method: String.prototyp.someMethod = () => null; This library should be imported as side-effect library import ‘target-library’ I am trying to write declaration file for this module, but keeping clean the global types from this string extension. For instance, if I do like this //… Read More Extend global type inside module declaration