File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -36,7 +36,7 @@ interface Request {
3636 */
3737const EMITTER_UID = "emitter" ;
3838
39- const hasBinary = ( obj : any , toJSON ?: boolean ) => {
39+ const hasBinary = ( obj : any , toJSON ?: boolean ) : boolean => {
4040 if ( ! obj || typeof obj !== "object" ) {
4141 return false ;
4242 }
@@ -121,7 +121,7 @@ export function createAdapter(
121121 pool : any ,
122122 opts : Partial < PostgresAdapterOptions > = { }
123123) {
124- return function ( nsp ) {
124+ return function ( nsp : any ) {
125125 return new PostgresAdapter ( nsp , pool , opts ) ;
126126 } ;
127127}
@@ -194,7 +194,7 @@ export class PostgresAdapter extends Adapter {
194194 debug ( "client listening to %s" , this . channel ) ;
195195 await client . query ( `LISTEN "${ this . channel } "` ) ;
196196
197- client . on ( "notification" , async ( msg ) => {
197+ client . on ( "notification" , async ( msg : any ) => {
198198 try {
199199 await this . onEvent ( msg . payload ) ;
200200 } catch ( err ) {
You can’t perform that action at this time.
0 commit comments