normalizeHandler.d.ts 328 B

12345678910
  1. import { Handler, HandlerObject } from '../_types.js';
  2. import '../_version.js';
  3. /**
  4. * @param {function()|Object} handler Either a function, or an object with a
  5. * 'handle' method.
  6. * @return {Object} An object with a handle method.
  7. *
  8. * @private
  9. */
  10. export declare const normalizeHandler: (handler: Handler) => HandlerObject;