|
|
|
|
|
by Alexendoo
2824 days ago
|
|
I would recommend avoiding adding your own global types if you can avoid it, for example TypeScript has a full type definition for Array.prototype.find [1]. You can enable it without changing the target and breaking things by adding es2015 to lib in your tsconfig compilerOptions [1] https://github.com/Microsoft/TypeScript/blob/5fb39769ada9ff7... |
|