Add tests. Let sequelize have two project URLs

This commit is contained in:
Jacob Gardner
2019-02-19 10:54:25 -06:00
parent a5c1bdeb29
commit 59814c662f
2 changed files with 3 additions and 1 deletions
+2
View File
@@ -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"], "_");
+1 -1
View File
@@ -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 <https://github.com/samuelneff>
// Peter Harris <https://github.com/codeanimal>
// Ivan Drinchev <https://github.com/drinchev>