@crawlee/types
Version:
Shared types for the crawlee projects
8 lines • 380 B
TypeScript
/** @ignore */
export type Dictionary<T = any> = Record<PropertyKey, T>;
/** @ignore */
export type Constructor<T = unknown> = new (...args: any[]) => T;
/** @ignore */
export type Awaitable<T> = T | PromiseLike<T>;
export type AllowedHttpMethods = 'GET' | 'HEAD' | 'POST' | 'PUT' | 'DELETE' | 'TRACE' | 'OPTIONS' | 'CONNECT' | 'PATCH';
//# sourceMappingURL=utility-types.d.ts.map