mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
@types/sequelize add missing useCLS function def (#20788)
This commit is contained in:
parent
dabb23a265
commit
c8a3ba9008
2
types/sequelize/index.d.ts
vendored
2
types/sequelize/index.d.ts
vendored
@ -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;
|
||||
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user