mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-08-13 21:40:21 +00:00
Add tests. Let sequelize have two project URLs
This commit is contained in:
@@ -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"], "_");
|
||||
|
||||
Vendored
+1
-1
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user