mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-12-04 04:01:52 +00:00
lodash types compatibility with TypeScript 2.2
TypeScript 2.2 changed the built-in type of WeakMap to use the new object type in its generic subtype. Updated compat for target es5 and mark file as requiring TS2.2
This commit is contained in:
Vendored
+2
-2
@@ -2,7 +2,7 @@
|
||||
// Project: http://lodash.com/
|
||||
// Definitions by: Brian Zengel <https://github.com/bczengel>, Ilya Mochalov <https://github.com/chrootsu>, Stepan Mikhaylyuk <https://github.com/stepancar>
|
||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
||||
// TypeScript Version: 2.1
|
||||
// TypeScript Version: 2.2
|
||||
|
||||
/**
|
||||
### 4.0.0 Changelog (https://github.com/lodash/lodash/wiki/Changelog)
|
||||
@@ -19446,5 +19446,5 @@ declare global {
|
||||
interface Set<T> { }
|
||||
interface Map<K, V> { }
|
||||
interface WeakSet<T> { }
|
||||
interface WeakMap<K, V> { }
|
||||
interface WeakMap<K extends object, V> { }
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user