From 59814c662fa9f8fb8a50e862fbd7c99c01da36a8 Mon Sep 17 00:00:00 2001 From: Jacob Gardner Date: Tue, 19 Feb 2019 10:54:25 -0600 Subject: [PATCH] Add tests. Let sequelize have two project URLs --- types/lodash/lodash-tests.ts | 2 ++ types/sequelize/index.d.ts | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/types/lodash/lodash-tests.ts b/types/lodash/lodash-tests.ts index 64d445c65a..87105eaa88 100644 --- a/types/lodash/lodash-tests.ts +++ b/types/lodash/lodash-tests.ts @@ -5151,6 +5151,8 @@ fp.now(); // $ExpectType number _.get({ a: { b: true } }, "a"); // $ExpectType { b: boolean; } _.get({ a: { b: true } }, ["a"]); // $ExpectType { b: boolean; } _.get({ a: { b: true } }, ["a", "b"]); // $ExpectType any + _.get({ a: undefined }, 'a'); // $ExpectType undefined + _.get({ a: undefined }, 'a', 'default'); // $ExpectType string _("abc").get(1); // $ExpectType string _("abc").get(["0"], "_"); diff --git a/types/sequelize/index.d.ts b/types/sequelize/index.d.ts index 5d1131684c..8fb0c16503 100644 --- a/types/sequelize/index.d.ts +++ b/types/sequelize/index.d.ts @@ -1,5 +1,5 @@ // Type definitions for Sequelize 4.27.11 -// Project: http://sequelizejs.com +// Project: http://sequelizejs.com, https://github.com/sequelize/sequelize // Definitions by: samuelneff // Peter Harris // Ivan Drinchev