@dudousxd/nestjs-telescope
Version:
Laravel Telescope-style observability console for NestJS — core: watchers, recorder, correlation, SQLite store, headless API.
7 lines • 336 B
JavaScript
/** Narrows the watcher option to a {@link CustomAxiosSource} (lazy path) vs a
* bare {@link AxiosInterceptorLike} (eager path) by the presence of
* `instrument`. */
export function isCustomAxiosSource(source) {
return 'instrument' in source && typeof source.instrument === 'function';
}
//# sourceMappingURL=axios-source.js.map