mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-08-13 05:20:25 +00:00
@types/sequelize add missing useCLS function def (#20788)
This commit is contained in:
Vendored
+2
@@ -17,6 +17,7 @@
|
||||
|
||||
import * as _ from "lodash";
|
||||
import * as Promise from "bluebird";
|
||||
import * as cls from "continuation-local-storage"
|
||||
|
||||
declare namespace sequelize {
|
||||
|
||||
@@ -5739,6 +5740,7 @@ declare namespace sequelize {
|
||||
* Provide access to continuation-local-storage (http://docs.sequelizejs.com/en/latest/api/sequelize/#transactionoptions-promise)
|
||||
*/
|
||||
cls: any;
|
||||
useCLS(namespace:cls.Namespace): Sequelize;
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user