From a256a3c1065d73bbdba5280e1a795d5e417d7a66 Mon Sep 17 00:00:00 2001 From: Avi Vahl Date: Wed, 22 Feb 2017 21:02:51 +0200 Subject: [PATCH] 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 --- lodash/index.d.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lodash/index.d.ts b/lodash/index.d.ts index 00de563bbb..70b086188c 100644 --- a/lodash/index.d.ts +++ b/lodash/index.d.ts @@ -2,7 +2,7 @@ // Project: http://lodash.com/ // Definitions by: Brian Zengel , Ilya Mochalov , Stepan Mikhaylyuk // 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 { } interface Map { } interface WeakSet { } - interface WeakMap { } + interface WeakMap { } }