import { Request , Response , NextFunction } from 'express' ; const qs = require ( 'qs' ) ; export const callInterceptor = function ( req , res , next ) { req . qs = qs . parse ( req . query ) ; req . query = undefined ; next ( ) ; } ;