@bleedingdev/modern-js-utils 3.8.3-ultramodern.6 → 3.9.0-ultramodern.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/cli/require.js +10 -1
- package/dist/cjs/universal/index.js +5 -25
- package/dist/compiled/chokidar/types/index.d.ts +1 -1
- package/dist/compiled/fast-glob/@nodelib/fs.scandir/out/adapters/fs.d.ts +1 -1
- package/dist/compiled/fast-glob/@nodelib/fs.scandir/out/settings.d.ts +1 -1
- package/dist/compiled/fast-glob/@nodelib/fs.walk/out/index.d.ts +1 -1
- package/dist/compiled/fast-glob/@nodelib/fs.walk/out/readers/async.d.ts +1 -1
- package/dist/compiled/fast-glob/@nodelib/fs.walk/out/settings.d.ts +1 -1
- package/dist/compiled/fast-glob/@nodelib/fs.walk/out/types/index.d.ts +1 -1
- package/dist/compiled/fast-glob/out/types/index.d.ts +1 -1
- package/dist/compiled/inquirer/lib/prompts/base.d.ts +100 -0
- package/dist/compiled/inquirer/lib/prompts/checkbox.d.ts +116 -0
- package/dist/compiled/inquirer/lib/prompts/confirm.d.ts +53 -0
- package/dist/compiled/inquirer/lib/prompts/editor.d.ts +101 -0
- package/dist/compiled/inquirer/lib/prompts/expand.d.ts +149 -0
- package/dist/compiled/inquirer/lib/prompts/input.d.ts +82 -0
- package/dist/compiled/inquirer/lib/prompts/list.d.ts +89 -0
- package/dist/compiled/inquirer/lib/prompts/number.d.ts +32 -0
- package/dist/compiled/inquirer/lib/prompts/password.d.ts +82 -0
- package/dist/compiled/inquirer/lib/prompts/rawlist.d.ts +111 -0
- package/dist/compiled/inquirer/lib/utils/events.d.ts +72 -0
- package/dist/compiled/inquirer/lib/utils/incrementListIndex.d.ts +23 -0
- package/dist/compiled/inquirer/lib/utils/paginator.d.ts +55 -0
- package/dist/compiled/inquirer/lib/utils/readline.d.ts +56 -0
- package/dist/compiled/inquirer/lib/utils/screen-manager.d.ts +90 -0
- package/dist/compiled/inquirer/lib/utils/utils.d.ts +30 -0
- package/dist/compiled/inquirer/rxjs/LICENSE.txt +202 -0
- package/dist/compiled/inquirer/rxjs/ajax/index.d.ts +5 -0
- package/dist/compiled/inquirer/rxjs/fetch/index.d.ts +2 -0
- package/dist/compiled/inquirer/rxjs/index.d.ts +173 -0
- package/dist/compiled/inquirer/rxjs/internal/AnyCatcher.d.ts +10 -0
- package/dist/compiled/inquirer/rxjs/internal/AsyncSubject.d.ts +13 -0
- package/dist/compiled/inquirer/rxjs/internal/BehaviorSubject.d.ts +13 -0
- package/dist/compiled/inquirer/rxjs/internal/Notification.d.ts +175 -0
- package/dist/compiled/inquirer/rxjs/internal/NotificationFactories.d.ts +2 -0
- package/dist/compiled/inquirer/rxjs/internal/Observable.d.ts +121 -0
- package/dist/compiled/inquirer/rxjs/internal/Operator.d.ts +9 -0
- package/dist/compiled/inquirer/rxjs/internal/ReplaySubject.d.ts +49 -0
- package/dist/compiled/inquirer/rxjs/internal/Scheduler.d.ts +53 -0
- package/dist/compiled/inquirer/rxjs/internal/Subject.d.ts +54 -0
- package/dist/compiled/inquirer/rxjs/internal/Subscriber.d.ts +72 -0
- package/dist/compiled/inquirer/rxjs/internal/Subscription.d.ts +92 -0
- package/dist/compiled/inquirer/rxjs/internal/ajax/AjaxResponse.d.ts +115 -0
- package/dist/compiled/inquirer/rxjs/internal/ajax/ajax.d.ts +227 -0
- package/dist/compiled/inquirer/rxjs/internal/ajax/errors.d.ts +65 -0
- package/dist/compiled/inquirer/rxjs/internal/ajax/getXHRResponse.d.ts +14 -0
- package/dist/compiled/inquirer/rxjs/internal/ajax/types.d.ts +200 -0
- package/dist/compiled/inquirer/rxjs/internal/config.d.ts +73 -0
- package/dist/compiled/inquirer/rxjs/internal/firstValueFrom.d.ts +7 -0
- package/dist/compiled/inquirer/rxjs/internal/lastValueFrom.d.ts +7 -0
- package/dist/compiled/inquirer/rxjs/internal/observable/ConnectableObservable.d.ts +42 -0
- package/dist/compiled/inquirer/rxjs/internal/observable/bindCallback.d.ts +5 -0
- package/dist/compiled/inquirer/rxjs/internal/observable/bindCallbackInternals.d.ts +4 -0
- package/dist/compiled/inquirer/rxjs/internal/observable/bindNodeCallback.d.ts +5 -0
- package/dist/compiled/inquirer/rxjs/internal/observable/combineLatest.d.ts +33 -0
- package/dist/compiled/inquirer/rxjs/internal/observable/concat.d.ts +5 -0
- package/dist/compiled/inquirer/rxjs/internal/observable/connectable.d.ts +27 -0
- package/dist/compiled/inquirer/rxjs/internal/observable/defer.d.ts +51 -0
- package/dist/compiled/inquirer/rxjs/internal/observable/dom/WebSocketSubject.d.ts +173 -0
- package/dist/compiled/inquirer/rxjs/internal/observable/dom/animationFrames.d.ts +76 -0
- package/dist/compiled/inquirer/rxjs/internal/observable/dom/fetch.d.ts +7 -0
- package/dist/compiled/inquirer/rxjs/internal/observable/dom/webSocket.d.ts +159 -0
- package/dist/compiled/inquirer/rxjs/internal/observable/empty.d.ts +72 -0
- package/dist/compiled/inquirer/rxjs/internal/observable/forkJoin.d.ts +24 -0
- package/dist/compiled/inquirer/rxjs/internal/observable/from.d.ts +6 -0
- package/dist/compiled/inquirer/rxjs/internal/observable/fromEvent.d.ts +45 -0
- package/dist/compiled/inquirer/rxjs/internal/observable/fromEventPattern.d.ts +5 -0
- package/dist/compiled/inquirer/rxjs/internal/observable/fromSubscribable.d.ts +14 -0
- package/dist/compiled/inquirer/rxjs/internal/observable/generate.d.ts +314 -0
- package/dist/compiled/inquirer/rxjs/internal/observable/iif.d.ts +82 -0
- package/dist/compiled/inquirer/rxjs/internal/observable/innerFrom.d.ts +21 -0
- package/dist/compiled/inquirer/rxjs/internal/observable/interval.d.ts +48 -0
- package/dist/compiled/inquirer/rxjs/internal/observable/merge.d.ts +9 -0
- package/dist/compiled/inquirer/rxjs/internal/observable/never.d.ts +40 -0
- package/dist/compiled/inquirer/rxjs/internal/observable/of.d.ts +14 -0
- package/dist/compiled/inquirer/rxjs/internal/observable/onErrorResumeNext.d.ts +5 -0
- package/dist/compiled/inquirer/rxjs/internal/observable/pairs.d.ts +19 -0
- package/dist/compiled/inquirer/rxjs/internal/observable/partition.d.ts +9 -0
- package/dist/compiled/inquirer/rxjs/internal/observable/race.d.ts +12 -0
- package/dist/compiled/inquirer/rxjs/internal/observable/range.d.ts +8 -0
- package/dist/compiled/inquirer/rxjs/internal/observable/throwError.d.ts +115 -0
- package/dist/compiled/inquirer/rxjs/internal/observable/timer.d.ts +126 -0
- package/dist/compiled/inquirer/rxjs/internal/observable/using.d.ts +30 -0
- package/dist/compiled/inquirer/rxjs/internal/observable/zip.d.ts +7 -0
- package/dist/compiled/inquirer/rxjs/internal/operators/OperatorSubscriber.d.ts +41 -0
- package/dist/compiled/inquirer/rxjs/internal/operators/audit.d.ts +48 -0
- package/dist/compiled/inquirer/rxjs/internal/operators/auditTime.d.ts +50 -0
- package/dist/compiled/inquirer/rxjs/internal/operators/buffer.d.ts +41 -0
- package/dist/compiled/inquirer/rxjs/internal/operators/bufferCount.d.ts +54 -0
- package/dist/compiled/inquirer/rxjs/internal/operators/bufferTime.d.ts +5 -0
- package/dist/compiled/inquirer/rxjs/internal/operators/bufferToggle.d.ts +46 -0
- package/dist/compiled/inquirer/rxjs/internal/operators/bufferWhen.d.ts +41 -0
- package/dist/compiled/inquirer/rxjs/internal/operators/catchError.d.ts +4 -0
- package/dist/compiled/inquirer/rxjs/internal/operators/combineAll.d.ts +6 -0
- package/dist/compiled/inquirer/rxjs/internal/operators/combineLatest.d.ts +10 -0
- package/dist/compiled/inquirer/rxjs/internal/operators/combineLatestAll.d.ts +6 -0
- package/dist/compiled/inquirer/rxjs/internal/operators/combineLatestWith.d.ts +43 -0
- package/dist/compiled/inquirer/rxjs/internal/operators/concat.d.ts +6 -0
- package/dist/compiled/inquirer/rxjs/internal/operators/concatAll.d.ts +59 -0
- package/dist/compiled/inquirer/rxjs/internal/operators/concatMap.d.ts +7 -0
- package/dist/compiled/inquirer/rxjs/internal/operators/concatMapTo.d.ts +8 -0
- package/dist/compiled/inquirer/rxjs/internal/operators/concatWith.d.ts +43 -0
- package/dist/compiled/inquirer/rxjs/internal/operators/connect.d.ts +87 -0
- package/dist/compiled/inquirer/rxjs/internal/operators/count.d.ts +58 -0
- package/dist/compiled/inquirer/rxjs/internal/operators/debounce.d.ts +61 -0
- package/dist/compiled/inquirer/rxjs/internal/operators/debounceTime.d.ts +59 -0
- package/dist/compiled/inquirer/rxjs/internal/operators/defaultIfEmpty.d.ts +38 -0
- package/dist/compiled/inquirer/rxjs/internal/operators/delay.d.ts +59 -0
- package/dist/compiled/inquirer/rxjs/internal/operators/delayWhen.d.ts +6 -0
- package/dist/compiled/inquirer/rxjs/internal/operators/dematerialize.d.ts +51 -0
- package/dist/compiled/inquirer/rxjs/internal/operators/distinct.d.ts +60 -0
- package/dist/compiled/inquirer/rxjs/internal/operators/distinctUntilChanged.d.ts +4 -0
- package/dist/compiled/inquirer/rxjs/internal/operators/distinctUntilKeyChanged.d.ts +4 -0
- package/dist/compiled/inquirer/rxjs/internal/operators/elementAt.d.ts +51 -0
- package/dist/compiled/inquirer/rxjs/internal/operators/endWith.d.ts +7 -0
- package/dist/compiled/inquirer/rxjs/internal/operators/every.d.ts +9 -0
- package/dist/compiled/inquirer/rxjs/internal/operators/exhaust.d.ts +6 -0
- package/dist/compiled/inquirer/rxjs/internal/operators/exhaustAll.d.ts +47 -0
- package/dist/compiled/inquirer/rxjs/internal/operators/exhaustMap.d.ts +7 -0
- package/dist/compiled/inquirer/rxjs/internal/operators/expand.d.ts +9 -0
- package/dist/compiled/inquirer/rxjs/internal/operators/filter.d.ts +9 -0
- package/dist/compiled/inquirer/rxjs/internal/operators/finalize.d.ts +64 -0
- package/dist/compiled/inquirer/rxjs/internal/operators/find.d.ts +12 -0
- package/dist/compiled/inquirer/rxjs/internal/operators/findIndex.d.ts +9 -0
- package/dist/compiled/inquirer/rxjs/internal/operators/first.d.ts +9 -0
- package/dist/compiled/inquirer/rxjs/internal/operators/flatMap.d.ts +6 -0
- package/dist/compiled/inquirer/rxjs/internal/operators/groupBy.d.ts +119 -0
- package/dist/compiled/inquirer/rxjs/internal/operators/ignoreElements.d.ts +38 -0
- package/dist/compiled/inquirer/rxjs/internal/operators/isEmpty.d.ts +64 -0
- package/dist/compiled/inquirer/rxjs/internal/operators/joinAllInternals.d.ts +14 -0
- package/dist/compiled/inquirer/rxjs/internal/operators/last.d.ts +8 -0
- package/dist/compiled/inquirer/rxjs/internal/operators/map.d.ts +5 -0
- package/dist/compiled/inquirer/rxjs/internal/operators/mapTo.d.ts +10 -0
- package/dist/compiled/inquirer/rxjs/internal/operators/materialize.d.ts +52 -0
- package/dist/compiled/inquirer/rxjs/internal/operators/max.d.ts +50 -0
- package/dist/compiled/inquirer/rxjs/internal/operators/merge.d.ts +10 -0
- package/dist/compiled/inquirer/rxjs/internal/operators/mergeAll.d.ts +62 -0
- package/dist/compiled/inquirer/rxjs/internal/operators/mergeInternals.d.ts +18 -0
- package/dist/compiled/inquirer/rxjs/internal/operators/mergeMap.d.ts +7 -0
- package/dist/compiled/inquirer/rxjs/internal/operators/mergeMapTo.d.ts +9 -0
- package/dist/compiled/inquirer/rxjs/internal/operators/mergeScan.d.ts +68 -0
- package/dist/compiled/inquirer/rxjs/internal/operators/mergeWith.d.ts +44 -0
- package/dist/compiled/inquirer/rxjs/internal/operators/min.d.ts +50 -0
- package/dist/compiled/inquirer/rxjs/internal/operators/multicast.d.ts +63 -0
- package/dist/compiled/inquirer/rxjs/internal/operators/observeOn.d.ts +56 -0
- package/dist/compiled/inquirer/rxjs/internal/operators/onErrorResumeNextWith.d.ts +8 -0
- package/dist/compiled/inquirer/rxjs/internal/operators/pairwise.d.ts +46 -0
- package/dist/compiled/inquirer/rxjs/internal/operators/partition.d.ts +54 -0
- package/dist/compiled/inquirer/rxjs/internal/operators/pluck.d.ts +18 -0
- package/dist/compiled/inquirer/rxjs/internal/operators/publish.d.ts +30 -0
- package/dist/compiled/inquirer/rxjs/internal/operators/publishBehavior.d.ts +19 -0
- package/dist/compiled/inquirer/rxjs/internal/operators/publishLast.d.ts +69 -0
- package/dist/compiled/inquirer/rxjs/internal/operators/publishReplay.d.ts +56 -0
- package/dist/compiled/inquirer/rxjs/internal/operators/race.d.ts +6 -0
- package/dist/compiled/inquirer/rxjs/internal/operators/raceWith.d.ts +29 -0
- package/dist/compiled/inquirer/rxjs/internal/operators/reduce.d.ts +5 -0
- package/dist/compiled/inquirer/rxjs/internal/operators/refCount.d.ts +61 -0
- package/dist/compiled/inquirer/rxjs/internal/operators/repeat.d.ts +108 -0
- package/dist/compiled/inquirer/rxjs/internal/operators/repeatWhen.d.ts +38 -0
- package/dist/compiled/inquirer/rxjs/internal/operators/retry.d.ts +28 -0
- package/dist/compiled/inquirer/rxjs/internal/operators/retryWhen.d.ts +61 -0
- package/dist/compiled/inquirer/rxjs/internal/operators/sample.d.ts +43 -0
- package/dist/compiled/inquirer/rxjs/internal/operators/sampleTime.d.ts +46 -0
- package/dist/compiled/inquirer/rxjs/internal/operators/scan.d.ts +5 -0
- package/dist/compiled/inquirer/rxjs/internal/operators/scanInternals.d.ts +12 -0
- package/dist/compiled/inquirer/rxjs/internal/operators/sequenceEqual.d.ts +60 -0
- package/dist/compiled/inquirer/rxjs/internal/operators/share.d.ts +43 -0
- package/dist/compiled/inquirer/rxjs/internal/operators/shareReplay.d.ts +10 -0
- package/dist/compiled/inquirer/rxjs/internal/operators/single.d.ts +5 -0
- package/dist/compiled/inquirer/rxjs/internal/operators/skip.d.ts +36 -0
- package/dist/compiled/inquirer/rxjs/internal/operators/skipLast.d.ts +45 -0
- package/dist/compiled/inquirer/rxjs/internal/operators/skipUntil.d.ts +48 -0
- package/dist/compiled/inquirer/rxjs/internal/operators/skipWhile.d.ts +5 -0
- package/dist/compiled/inquirer/rxjs/internal/operators/startWith.d.ts +7 -0
- package/dist/compiled/inquirer/rxjs/internal/operators/subscribeOn.d.ts +62 -0
- package/dist/compiled/inquirer/rxjs/internal/operators/switchAll.d.ts +61 -0
- package/dist/compiled/inquirer/rxjs/internal/operators/switchMap.d.ts +7 -0
- package/dist/compiled/inquirer/rxjs/internal/operators/switchMapTo.d.ts +8 -0
- package/dist/compiled/inquirer/rxjs/internal/operators/switchScan.d.ts +20 -0
- package/dist/compiled/inquirer/rxjs/internal/operators/take.d.ts +45 -0
- package/dist/compiled/inquirer/rxjs/internal/operators/takeLast.d.ts +42 -0
- package/dist/compiled/inquirer/rxjs/internal/operators/takeUntil.d.ts +41 -0
- package/dist/compiled/inquirer/rxjs/internal/operators/takeWhile.d.ts +8 -0
- package/dist/compiled/inquirer/rxjs/internal/operators/tap.d.ts +72 -0
- package/dist/compiled/inquirer/rxjs/internal/operators/throttle.d.ts +78 -0
- package/dist/compiled/inquirer/rxjs/internal/operators/throttleTime.d.ts +53 -0
- package/dist/compiled/inquirer/rxjs/internal/operators/throwIfEmpty.d.ts +39 -0
- package/dist/compiled/inquirer/rxjs/internal/operators/timeInterval.d.ts +50 -0
- package/dist/compiled/inquirer/rxjs/internal/operators/timeout.d.ts +255 -0
- package/dist/compiled/inquirer/rxjs/internal/operators/timeoutWith.d.ts +8 -0
- package/dist/compiled/inquirer/rxjs/internal/operators/timestamp.d.ts +35 -0
- package/dist/compiled/inquirer/rxjs/internal/operators/toArray.d.ts +33 -0
- package/dist/compiled/inquirer/rxjs/internal/operators/window.d.ts +48 -0
- package/dist/compiled/inquirer/rxjs/internal/operators/windowCount.d.ts +65 -0
- package/dist/compiled/inquirer/rxjs/internal/operators/windowTime.d.ts +6 -0
- package/dist/compiled/inquirer/rxjs/internal/operators/windowToggle.d.ts +49 -0
- package/dist/compiled/inquirer/rxjs/internal/operators/windowWhen.d.ts +49 -0
- package/dist/compiled/inquirer/rxjs/internal/operators/withLatestFrom.d.ts +4 -0
- package/dist/compiled/inquirer/rxjs/internal/operators/zip.d.ts +10 -0
- package/dist/compiled/inquirer/rxjs/internal/operators/zipAll.d.ts +14 -0
- package/dist/compiled/inquirer/rxjs/internal/operators/zipWith.d.ts +26 -0
- package/dist/compiled/inquirer/rxjs/internal/scheduled/scheduleArray.d.ts +4 -0
- package/dist/compiled/inquirer/rxjs/internal/scheduled/scheduleAsyncIterable.d.ts +4 -0
- package/dist/compiled/inquirer/rxjs/internal/scheduled/scheduleIterable.d.ts +9 -0
- package/dist/compiled/inquirer/rxjs/internal/scheduled/scheduleObservable.d.ts +3 -0
- package/dist/compiled/inquirer/rxjs/internal/scheduled/schedulePromise.d.ts +3 -0
- package/dist/compiled/inquirer/rxjs/internal/scheduled/scheduleReadableStreamLike.d.ts +4 -0
- package/dist/compiled/inquirer/rxjs/internal/scheduled/scheduled.d.ts +15 -0
- package/dist/compiled/inquirer/rxjs/internal/scheduler/Action.d.ts +30 -0
- package/dist/compiled/inquirer/rxjs/internal/scheduler/AnimationFrameAction.d.ts +12 -0
- package/dist/compiled/inquirer/rxjs/internal/scheduler/AnimationFrameScheduler.d.ts +6 -0
- package/dist/compiled/inquirer/rxjs/internal/scheduler/AsapAction.d.ts +12 -0
- package/dist/compiled/inquirer/rxjs/internal/scheduler/AsapScheduler.d.ts +6 -0
- package/dist/compiled/inquirer/rxjs/internal/scheduler/AsyncAction.d.ts +24 -0
- package/dist/compiled/inquirer/rxjs/internal/scheduler/AsyncScheduler.d.ts +9 -0
- package/dist/compiled/inquirer/rxjs/internal/scheduler/QueueAction.d.ts +14 -0
- package/dist/compiled/inquirer/rxjs/internal/scheduler/QueueScheduler.d.ts +4 -0
- package/dist/compiled/inquirer/rxjs/internal/scheduler/VirtualTimeScheduler.d.ts +48 -0
- package/dist/compiled/inquirer/rxjs/internal/scheduler/animationFrame.d.ts +38 -0
- package/dist/compiled/inquirer/rxjs/internal/scheduler/animationFrameProvider.d.ts +13 -0
- package/dist/compiled/inquirer/rxjs/internal/scheduler/asap.d.ts +41 -0
- package/dist/compiled/inquirer/rxjs/internal/scheduler/async.d.ts +53 -0
- package/dist/compiled/inquirer/rxjs/internal/scheduler/dateTimestampProvider.d.ts +7 -0
- package/dist/compiled/inquirer/rxjs/internal/scheduler/immediateProvider.d.ts +14 -0
- package/dist/compiled/inquirer/rxjs/internal/scheduler/intervalProvider.d.ts +14 -0
- package/dist/compiled/inquirer/rxjs/internal/scheduler/performanceTimestampProvider.d.ts +7 -0
- package/dist/compiled/inquirer/rxjs/internal/scheduler/queue.d.ts +69 -0
- package/dist/compiled/inquirer/rxjs/internal/scheduler/timeoutProvider.d.ts +14 -0
- package/dist/compiled/inquirer/rxjs/internal/scheduler/timerHandle.d.ts +2 -0
- package/dist/compiled/inquirer/rxjs/internal/symbol/iterator.d.ts +3 -0
- package/dist/compiled/inquirer/rxjs/internal/symbol/observable.d.ts +8 -0
- package/dist/compiled/inquirer/rxjs/internal/testing/ColdObservable.d.ts +16 -0
- package/dist/compiled/inquirer/rxjs/internal/testing/HotObservable.d.ts +15 -0
- package/dist/compiled/inquirer/rxjs/internal/testing/SubscriptionLog.d.ts +6 -0
- package/dist/compiled/inquirer/rxjs/internal/testing/SubscriptionLoggable.d.ts +9 -0
- package/dist/compiled/inquirer/rxjs/internal/testing/TestMessage.d.ts +7 -0
- package/dist/compiled/inquirer/rxjs/internal/testing/TestScheduler.d.ts +88 -0
- package/dist/compiled/inquirer/rxjs/internal/types.d.ts +307 -0
- package/dist/compiled/inquirer/rxjs/internal/util/ArgumentOutOfRangeError.d.ts +19 -0
- package/dist/compiled/inquirer/rxjs/internal/util/EmptyError.d.ts +21 -0
- package/dist/compiled/inquirer/rxjs/internal/util/Immediate.d.ts +14 -0
- package/dist/compiled/inquirer/rxjs/internal/util/NotFoundError.d.ts +17 -0
- package/dist/compiled/inquirer/rxjs/internal/util/ObjectUnsubscribedError.d.ts +20 -0
- package/dist/compiled/inquirer/rxjs/internal/util/SequenceError.d.ts +17 -0
- package/dist/compiled/inquirer/rxjs/internal/util/UnsubscriptionError.d.ts +16 -0
- package/dist/compiled/inquirer/rxjs/internal/util/applyMixins.d.ts +2 -0
- package/dist/compiled/inquirer/rxjs/internal/util/args.d.ts +5 -0
- package/dist/compiled/inquirer/rxjs/internal/util/argsArgArrayOrObject.d.ts +11 -0
- package/dist/compiled/inquirer/rxjs/internal/util/argsOrArgArray.d.ts +6 -0
- package/dist/compiled/inquirer/rxjs/internal/util/arrRemove.d.ts +7 -0
- package/dist/compiled/inquirer/rxjs/internal/util/createErrorClass.d.ts +11 -0
- package/dist/compiled/inquirer/rxjs/internal/util/createObject.d.ts +2 -0
- package/dist/compiled/inquirer/rxjs/internal/util/errorContext.d.ts +14 -0
- package/dist/compiled/inquirer/rxjs/internal/util/executeSchedule.d.ts +5 -0
- package/dist/compiled/inquirer/rxjs/internal/util/identity.d.ts +44 -0
- package/dist/compiled/inquirer/rxjs/internal/util/isArrayLike.d.ts +2 -0
- package/dist/compiled/inquirer/rxjs/internal/util/isAsyncIterable.d.ts +2 -0
- package/dist/compiled/inquirer/rxjs/internal/util/isDate.d.ts +9 -0
- package/dist/compiled/inquirer/rxjs/internal/util/isFunction.d.ts +6 -0
- package/dist/compiled/inquirer/rxjs/internal/util/isInteropObservable.d.ts +4 -0
- package/dist/compiled/inquirer/rxjs/internal/util/isIterable.d.ts +3 -0
- package/dist/compiled/inquirer/rxjs/internal/util/isObservable.d.ts +8 -0
- package/dist/compiled/inquirer/rxjs/internal/util/isPromise.d.ts +6 -0
- package/dist/compiled/inquirer/rxjs/internal/util/isReadableStreamLike.d.ts +4 -0
- package/dist/compiled/inquirer/rxjs/internal/util/isScheduler.d.ts +3 -0
- package/dist/compiled/inquirer/rxjs/internal/util/lift.d.ts +15 -0
- package/dist/compiled/inquirer/rxjs/internal/util/mapOneOrManyArgs.d.ts +7 -0
- package/dist/compiled/inquirer/rxjs/internal/util/noop.d.ts +2 -0
- package/dist/compiled/inquirer/rxjs/internal/util/not.d.ts +2 -0
- package/dist/compiled/inquirer/rxjs/internal/util/pipe.d.ts +14 -0
- package/dist/compiled/inquirer/rxjs/internal/util/reportUnhandledError.d.ts +11 -0
- package/dist/compiled/inquirer/rxjs/internal/util/subscribeToArray.d.ts +7 -0
- package/dist/compiled/inquirer/rxjs/internal/util/throwUnobservableError.d.ts +6 -0
- package/dist/compiled/inquirer/rxjs/internal/util/workarounds.d.ts +2 -0
- package/dist/compiled/inquirer/rxjs/operators/index.d.ts +114 -0
- package/dist/compiled/inquirer/rxjs/testing/index.d.ts +2 -0
- package/dist/compiled/inquirer/rxjs/webSocket/index.d.ts +3 -0
- package/dist/compiled/inquirer/types-license +21 -0
- package/dist/compiled/lodash/index.d.ts +1 -11
- package/dist/compiled/upath/upath.d.ts +2 -2
- package/dist/esm/cli/require.mjs +10 -1
- package/dist/esm/compiled.mjs +1 -1
- package/dist/esm/universal/index.mjs +0 -2
- package/dist/esm-node/cli/require.mjs +10 -1
- package/dist/esm-node/universal/index.mjs +0 -2
- package/dist/types/cli/common.d.ts +2 -2
- package/dist/types/cli/constants.d.ts +1 -1
- package/dist/types/cli/get/index.d.ts +2 -2
- package/dist/types/cli/index.d.ts +24 -24
- package/dist/types/cli/is/index.d.ts +4 -4
- package/dist/types/cli/watch.d.ts +1 -1
- package/dist/types/compiled.d.ts +26 -26
- package/dist/types/index.d.ts +3 -3
- package/dist/types/universal/index.d.ts +2 -4
- package/package.json +8 -7
- package/rslib.config.mts +7 -4
- package/dist/cjs/universal/backend-federation-contract/build-artifact.js +0 -185
- package/dist/cjs/universal/backend-federation-contract/constants.js +0 -92
- package/dist/cjs/universal/backend-federation-contract/delivery-unit.js +0 -130
- package/dist/cjs/universal/backend-federation-contract/index.js +0 -137
- package/dist/cjs/universal/backend-federation-contract/metadata.js +0 -133
- package/dist/cjs/universal/backend-federation-contract/types.js +0 -18
- package/dist/cjs/universal/backend-federation-contract/validation-core.js +0 -85
- package/dist/cjs/universal/surface-resolution/env-static-provider.js +0 -318
- package/dist/cjs/universal/surface-resolution/index.js +0 -69
- package/dist/cjs/universal/surface-resolution/surface-ref.js +0 -132
- package/dist/cjs/universal/surface-resolution/types.js +0 -18
- package/dist/cjs/universal/surface-resolution/validation.js +0 -202
- package/dist/esm/universal/backend-federation-contract/build-artifact.mjs +0 -135
- package/dist/esm/universal/backend-federation-contract/constants.mjs +0 -18
- package/dist/esm/universal/backend-federation-contract/delivery-unit.mjs +0 -74
- package/dist/esm/universal/backend-federation-contract/index.mjs +0 -5
- package/dist/esm/universal/backend-federation-contract/metadata.mjs +0 -80
- package/dist/esm/universal/backend-federation-contract/types.mjs +0 -0
- package/dist/esm/universal/backend-federation-contract/validation-core.mjs +0 -29
- package/dist/esm/universal/surface-resolution/env-static-provider.mjs +0 -274
- package/dist/esm/universal/surface-resolution/index.mjs +0 -3
- package/dist/esm/universal/surface-resolution/surface-ref.mjs +0 -88
- package/dist/esm/universal/surface-resolution/types.mjs +0 -0
- package/dist/esm/universal/surface-resolution/validation.mjs +0 -155
- package/dist/esm-node/universal/backend-federation-contract/build-artifact.mjs +0 -136
- package/dist/esm-node/universal/backend-federation-contract/constants.mjs +0 -19
- package/dist/esm-node/universal/backend-federation-contract/delivery-unit.mjs +0 -75
- package/dist/esm-node/universal/backend-federation-contract/index.mjs +0 -6
- package/dist/esm-node/universal/backend-federation-contract/metadata.mjs +0 -81
- package/dist/esm-node/universal/backend-federation-contract/types.mjs +0 -1
- package/dist/esm-node/universal/backend-federation-contract/validation-core.mjs +0 -30
- package/dist/esm-node/universal/surface-resolution/env-static-provider.mjs +0 -275
- package/dist/esm-node/universal/surface-resolution/index.mjs +0 -4
- package/dist/esm-node/universal/surface-resolution/surface-ref.mjs +0 -89
- package/dist/esm-node/universal/surface-resolution/types.mjs +0 -1
- package/dist/esm-node/universal/surface-resolution/validation.mjs +0 -156
- package/dist/types/universal/backend-federation-contract/build-artifact.d.ts +0 -9
- package/dist/types/universal/backend-federation-contract/constants.d.ts +0 -14
- package/dist/types/universal/backend-federation-contract/delivery-unit.d.ts +0 -9
- package/dist/types/universal/backend-federation-contract/index.d.ts +0 -7
- package/dist/types/universal/backend-federation-contract/metadata.d.ts +0 -7
- package/dist/types/universal/backend-federation-contract/types.d.ts +0 -60
- package/dist/types/universal/backend-federation-contract/validation-core.d.ts +0 -8
- package/dist/types/universal/surface-resolution/env-static-provider.d.ts +0 -107
- package/dist/types/universal/surface-resolution/index.d.ts +0 -4
- package/dist/types/universal/surface-resolution/surface-ref.d.ts +0 -72
- package/dist/types/universal/surface-resolution/types.d.ts +0 -102
- package/dist/types/universal/surface-resolution/validation.d.ts +0 -53
- /package/dist/esm/{rslib-runtime.mjs → rslib-runtime~1.mjs} +0 -0
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
import { Observable } from '../Observable';
|
|
2
|
+
import { MonoTypeOperatorFunction, OperatorFunction, TimestampProvider, ObservableInput, ObservedValueOf } from '../types';
|
|
3
|
+
/**
|
|
4
|
+
* Creates a {@link ConnectableObservable} that uses a {@link ReplaySubject}
|
|
5
|
+
* internally.
|
|
6
|
+
*
|
|
7
|
+
* @param bufferSize The buffer size for the underlying {@link ReplaySubject}.
|
|
8
|
+
* @param windowTime The window time for the underlying {@link ReplaySubject}.
|
|
9
|
+
* @param timestampProvider The timestamp provider for the underlying {@link ReplaySubject}.
|
|
10
|
+
* @deprecated Will be removed in v8. To create a connectable observable that uses a
|
|
11
|
+
* {@link ReplaySubject} under the hood, use {@link connectable}.
|
|
12
|
+
* `source.pipe(publishReplay(size, time, scheduler))` is equivalent to
|
|
13
|
+
* `connectable(source, { connector: () => new ReplaySubject(size, time, scheduler), resetOnDisconnect: false })`.
|
|
14
|
+
* If you're using {@link refCount} after `publishReplay`, use the {@link share} operator instead.
|
|
15
|
+
* `publishReplay(size, time, scheduler), refCount()` is equivalent to
|
|
16
|
+
* `share({ connector: () => new ReplaySubject(size, time, scheduler), resetOnError: false, resetOnComplete: false, resetOnRefCountZero: false })`.
|
|
17
|
+
* Details: https://rxjs.dev/deprecations/multicasting
|
|
18
|
+
*/
|
|
19
|
+
export declare function publishReplay<T>(bufferSize?: number, windowTime?: number, timestampProvider?: TimestampProvider): MonoTypeOperatorFunction<T>;
|
|
20
|
+
/**
|
|
21
|
+
* Creates an observable, that when subscribed to, will create a {@link ReplaySubject},
|
|
22
|
+
* and pass an observable from it (using [asObservable](api/index/class/Subject#asObservable)) to
|
|
23
|
+
* the `selector` function, which then returns an observable that is subscribed to before
|
|
24
|
+
* "connecting" the source to the internal `ReplaySubject`.
|
|
25
|
+
*
|
|
26
|
+
* Since this is deprecated, for additional details see the documentation for {@link connect}.
|
|
27
|
+
*
|
|
28
|
+
* @param bufferSize The buffer size for the underlying {@link ReplaySubject}.
|
|
29
|
+
* @param windowTime The window time for the underlying {@link ReplaySubject}.
|
|
30
|
+
* @param selector A function used to setup the multicast.
|
|
31
|
+
* @param timestampProvider The timestamp provider for the underlying {@link ReplaySubject}.
|
|
32
|
+
* @deprecated Will be removed in v8. Use the {@link connect} operator instead.
|
|
33
|
+
* `source.pipe(publishReplay(size, window, selector, scheduler))` is equivalent to
|
|
34
|
+
* `source.pipe(connect(selector, { connector: () => new ReplaySubject(size, window, scheduler) }))`.
|
|
35
|
+
* Details: https://rxjs.dev/deprecations/multicasting
|
|
36
|
+
*/
|
|
37
|
+
export declare function publishReplay<T, O extends ObservableInput<any>>(bufferSize: number | undefined, windowTime: number | undefined, selector: (shared: Observable<T>) => O, timestampProvider?: TimestampProvider): OperatorFunction<T, ObservedValueOf<O>>;
|
|
38
|
+
/**
|
|
39
|
+
* Creates a {@link ConnectableObservable} that uses a {@link ReplaySubject}
|
|
40
|
+
* internally.
|
|
41
|
+
*
|
|
42
|
+
* @param bufferSize The buffer size for the underlying {@link ReplaySubject}.
|
|
43
|
+
* @param windowTime The window time for the underlying {@link ReplaySubject}.
|
|
44
|
+
* @param selector Passing `undefined` here determines that this operator will return a {@link ConnectableObservable}.
|
|
45
|
+
* @param timestampProvider The timestamp provider for the underlying {@link ReplaySubject}.
|
|
46
|
+
* @deprecated Will be removed in v8. To create a connectable observable that uses a
|
|
47
|
+
* {@link ReplaySubject} under the hood, use {@link connectable}.
|
|
48
|
+
* `source.pipe(publishReplay(size, time, scheduler))` is equivalent to
|
|
49
|
+
* `connectable(source, { connector: () => new ReplaySubject(size, time, scheduler), resetOnDisconnect: false })`.
|
|
50
|
+
* If you're using {@link refCount} after `publishReplay`, use the {@link share} operator instead.
|
|
51
|
+
* `publishReplay(size, time, scheduler), refCount()` is equivalent to
|
|
52
|
+
* `share({ connector: () => new ReplaySubject(size, time, scheduler), resetOnError: false, resetOnComplete: false, resetOnRefCountZero: false })`.
|
|
53
|
+
* Details: https://rxjs.dev/deprecations/multicasting
|
|
54
|
+
*/
|
|
55
|
+
export declare function publishReplay<T, O extends ObservableInput<any>>(bufferSize: number | undefined, windowTime: number | undefined, selector: undefined, timestampProvider: TimestampProvider): OperatorFunction<T, ObservedValueOf<O>>;
|
|
56
|
+
//# sourceMappingURL=publishReplay.d.ts.map
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { ObservableInputTuple, OperatorFunction } from '../types';
|
|
2
|
+
/** @deprecated Replaced with {@link raceWith}. Will be removed in v8. */
|
|
3
|
+
export declare function race<T, A extends readonly unknown[]>(otherSources: [...ObservableInputTuple<A>]): OperatorFunction<T, T | A[number]>;
|
|
4
|
+
/** @deprecated Replaced with {@link raceWith}. Will be removed in v8. */
|
|
5
|
+
export declare function race<T, A extends readonly unknown[]>(...otherSources: [...ObservableInputTuple<A>]): OperatorFunction<T, T | A[number]>;
|
|
6
|
+
//# sourceMappingURL=race.d.ts.map
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { OperatorFunction, ObservableInputTuple } from '../types';
|
|
2
|
+
/**
|
|
3
|
+
* Creates an Observable that mirrors the first source Observable to emit a next,
|
|
4
|
+
* error or complete notification from the combination of the Observable to which
|
|
5
|
+
* the operator is applied and supplied Observables.
|
|
6
|
+
*
|
|
7
|
+
* ## Example
|
|
8
|
+
*
|
|
9
|
+
* ```ts
|
|
10
|
+
* import { interval, map, raceWith } from '../..';
|
|
11
|
+
*
|
|
12
|
+
* const obs1 = interval(7000).pipe(map(() => 'slow one'));
|
|
13
|
+
* const obs2 = interval(3000).pipe(map(() => 'fast one'));
|
|
14
|
+
* const obs3 = interval(5000).pipe(map(() => 'medium one'));
|
|
15
|
+
*
|
|
16
|
+
* obs1
|
|
17
|
+
* .pipe(raceWith(obs2, obs3))
|
|
18
|
+
* .subscribe(winner => console.log(winner));
|
|
19
|
+
*
|
|
20
|
+
* // Outputs
|
|
21
|
+
* // a series of 'fast one'
|
|
22
|
+
* ```
|
|
23
|
+
*
|
|
24
|
+
* @param otherSources Sources used to race for which Observable emits first.
|
|
25
|
+
* @return A function that returns an Observable that mirrors the output of the
|
|
26
|
+
* first Observable to emit an item.
|
|
27
|
+
*/
|
|
28
|
+
export declare function raceWith<T, A extends readonly unknown[]>(...otherSources: [...ObservableInputTuple<A>]): OperatorFunction<T, T | A[number]>;
|
|
29
|
+
//# sourceMappingURL=raceWith.d.ts.map
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { OperatorFunction } from '../types';
|
|
2
|
+
export declare function reduce<V, A = V>(accumulator: (acc: A | V, value: V, index: number) => A): OperatorFunction<V, V | A>;
|
|
3
|
+
export declare function reduce<V, A>(accumulator: (acc: A, value: V, index: number) => A, seed: A): OperatorFunction<V, A>;
|
|
4
|
+
export declare function reduce<V, A, S = A>(accumulator: (acc: A | S, value: V, index: number) => A, seed: S): OperatorFunction<V, A>;
|
|
5
|
+
//# sourceMappingURL=reduce.d.ts.map
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
import { MonoTypeOperatorFunction } from '../types';
|
|
2
|
+
/**
|
|
3
|
+
* Make a {@link ConnectableObservable} behave like a ordinary observable and automates the way
|
|
4
|
+
* you can connect to it.
|
|
5
|
+
*
|
|
6
|
+
* Internally it counts the subscriptions to the observable and subscribes (only once) to the source if
|
|
7
|
+
* the number of subscriptions is larger than 0. If the number of subscriptions is smaller than 1, it
|
|
8
|
+
* unsubscribes from the source. This way you can make sure that everything before the *published*
|
|
9
|
+
* refCount has only a single subscription independently of the number of subscribers to the target
|
|
10
|
+
* observable.
|
|
11
|
+
*
|
|
12
|
+
* Note that using the {@link share} operator is exactly the same as using the `multicast(() => new Subject())` operator
|
|
13
|
+
* (making the observable hot) and the *refCount* operator in a sequence.
|
|
14
|
+
*
|
|
15
|
+
* 
|
|
16
|
+
*
|
|
17
|
+
* ## Example
|
|
18
|
+
*
|
|
19
|
+
* In the following example there are two intervals turned into connectable observables
|
|
20
|
+
* by using the *publish* operator. The first one uses the *refCount* operator, the
|
|
21
|
+
* second one does not use it. You will notice that a connectable observable does nothing
|
|
22
|
+
* until you call its connect function.
|
|
23
|
+
*
|
|
24
|
+
* ```ts
|
|
25
|
+
* import { interval, tap, publish, refCount } from '../..';
|
|
26
|
+
*
|
|
27
|
+
* // Turn the interval observable into a ConnectableObservable (hot)
|
|
28
|
+
* const refCountInterval = interval(400).pipe(
|
|
29
|
+
* tap(num => console.log(`refCount ${ num }`)),
|
|
30
|
+
* publish(),
|
|
31
|
+
* refCount()
|
|
32
|
+
* );
|
|
33
|
+
*
|
|
34
|
+
* const publishedInterval = interval(400).pipe(
|
|
35
|
+
* tap(num => console.log(`publish ${ num }`)),
|
|
36
|
+
* publish()
|
|
37
|
+
* );
|
|
38
|
+
*
|
|
39
|
+
* refCountInterval.subscribe();
|
|
40
|
+
* refCountInterval.subscribe();
|
|
41
|
+
* // 'refCount 0' -----> 'refCount 1' -----> etc
|
|
42
|
+
* // All subscriptions will receive the same value and the tap (and
|
|
43
|
+
* // every other operator) before the `publish` operator will be executed
|
|
44
|
+
* // only once per event independently of the number of subscriptions.
|
|
45
|
+
*
|
|
46
|
+
* publishedInterval.subscribe();
|
|
47
|
+
* // Nothing happens until you call .connect() on the observable.
|
|
48
|
+
* ```
|
|
49
|
+
*
|
|
50
|
+
* @return A function that returns an Observable that automates the connection
|
|
51
|
+
* to ConnectableObservable.
|
|
52
|
+
* @see {@link ConnectableObservable}
|
|
53
|
+
* @see {@link share}
|
|
54
|
+
* @see {@link publish}
|
|
55
|
+
* @deprecated Replaced with the {@link share} operator. How `share` is used
|
|
56
|
+
* will depend on the connectable observable you created just prior to the
|
|
57
|
+
* `refCount` operator.
|
|
58
|
+
* Details: https://rxjs.dev/deprecations/multicasting
|
|
59
|
+
*/
|
|
60
|
+
export declare function refCount<T>(): MonoTypeOperatorFunction<T>;
|
|
61
|
+
//# sourceMappingURL=refCount.d.ts.map
|
|
@@ -0,0 +1,108 @@
|
|
|
1
|
+
import { MonoTypeOperatorFunction, ObservableInput } from '../types';
|
|
2
|
+
export interface RepeatConfig {
|
|
3
|
+
/**
|
|
4
|
+
* The number of times to repeat the source. Defaults to `Infinity`.
|
|
5
|
+
*/
|
|
6
|
+
count?: number;
|
|
7
|
+
/**
|
|
8
|
+
* If a `number`, will delay the repeat of the source by that number of milliseconds.
|
|
9
|
+
* If a function, it will provide the number of times the source has been subscribed to,
|
|
10
|
+
* and the return value should be a valid observable input that will notify when the source
|
|
11
|
+
* should be repeated. If the notifier observable is empty, the result will complete.
|
|
12
|
+
*/
|
|
13
|
+
delay?: number | ((count: number) => ObservableInput<any>);
|
|
14
|
+
}
|
|
15
|
+
/**
|
|
16
|
+
* Returns an Observable that will resubscribe to the source stream when the source stream completes.
|
|
17
|
+
*
|
|
18
|
+
* <span class="informal">Repeats all values emitted on the source. It's like {@link retry}, but for non error cases.</span>
|
|
19
|
+
*
|
|
20
|
+
* 
|
|
21
|
+
*
|
|
22
|
+
* Repeat will output values from a source until the source completes, then it will resubscribe to the
|
|
23
|
+
* source a specified number of times, with a specified delay. Repeat can be particularly useful in
|
|
24
|
+
* combination with closing operators like {@link take}, {@link takeUntil}, {@link first}, or {@link takeWhile},
|
|
25
|
+
* as it can be used to restart a source again from scratch.
|
|
26
|
+
*
|
|
27
|
+
* Repeat is very similar to {@link retry}, where {@link retry} will resubscribe to the source in the error case, but
|
|
28
|
+
* `repeat` will resubscribe if the source completes.
|
|
29
|
+
*
|
|
30
|
+
* Note that `repeat` will _not_ catch errors. Use {@link retry} for that.
|
|
31
|
+
*
|
|
32
|
+
* - `repeat(0)` returns an empty observable
|
|
33
|
+
* - `repeat()` will repeat forever
|
|
34
|
+
* - `repeat({ delay: 200 })` will repeat forever, with a delay of 200ms between repetitions.
|
|
35
|
+
* - `repeat({ count: 2, delay: 400 })` will repeat twice, with a delay of 400ms between repetitions.
|
|
36
|
+
* - `repeat({ delay: (count) => timer(count * 1000) })` will repeat forever, but will have a delay that grows by one second for each repetition.
|
|
37
|
+
*
|
|
38
|
+
* ## Example
|
|
39
|
+
*
|
|
40
|
+
* Repeat a message stream
|
|
41
|
+
*
|
|
42
|
+
* ```ts
|
|
43
|
+
* import { of, repeat } from '../..';
|
|
44
|
+
*
|
|
45
|
+
* const source = of('Repeat message');
|
|
46
|
+
* const result = source.pipe(repeat(3));
|
|
47
|
+
*
|
|
48
|
+
* result.subscribe(x => console.log(x));
|
|
49
|
+
*
|
|
50
|
+
* // Results
|
|
51
|
+
* // 'Repeat message'
|
|
52
|
+
* // 'Repeat message'
|
|
53
|
+
* // 'Repeat message'
|
|
54
|
+
* ```
|
|
55
|
+
*
|
|
56
|
+
* Repeat 3 values, 2 times
|
|
57
|
+
*
|
|
58
|
+
* ```ts
|
|
59
|
+
* import { interval, take, repeat } from '../..';
|
|
60
|
+
*
|
|
61
|
+
* const source = interval(1000);
|
|
62
|
+
* const result = source.pipe(take(3), repeat(2));
|
|
63
|
+
*
|
|
64
|
+
* result.subscribe(x => console.log(x));
|
|
65
|
+
*
|
|
66
|
+
* // Results every second
|
|
67
|
+
* // 0
|
|
68
|
+
* // 1
|
|
69
|
+
* // 2
|
|
70
|
+
* // 0
|
|
71
|
+
* // 1
|
|
72
|
+
* // 2
|
|
73
|
+
* ```
|
|
74
|
+
*
|
|
75
|
+
* Defining two complex repeats with delays on the same source.
|
|
76
|
+
* Note that the second repeat cannot be called until the first
|
|
77
|
+
* repeat as exhausted it's count.
|
|
78
|
+
*
|
|
79
|
+
* ```ts
|
|
80
|
+
* import { defer, of, repeat } from '../..';
|
|
81
|
+
*
|
|
82
|
+
* const source = defer(() => {
|
|
83
|
+
* return of(`Hello, it is ${new Date()}`)
|
|
84
|
+
* });
|
|
85
|
+
*
|
|
86
|
+
* source.pipe(
|
|
87
|
+
* // Repeat 3 times with a delay of 1 second between repetitions
|
|
88
|
+
* repeat({
|
|
89
|
+
* count: 3,
|
|
90
|
+
* delay: 1000,
|
|
91
|
+
* }),
|
|
92
|
+
*
|
|
93
|
+
* // *Then* repeat forever, but with an exponential step-back
|
|
94
|
+
* // maxing out at 1 minute.
|
|
95
|
+
* repeat({
|
|
96
|
+
* delay: (count) => timer(Math.min(60000, 2 ^ count * 1000))
|
|
97
|
+
* })
|
|
98
|
+
* )
|
|
99
|
+
* ```
|
|
100
|
+
*
|
|
101
|
+
* @see {@link repeatWhen}
|
|
102
|
+
* @see {@link retry}
|
|
103
|
+
*
|
|
104
|
+
* @param countOrConfig Either the number of times the source Observable items are repeated
|
|
105
|
+
* (a count of 0 will yield an empty Observable) or a {@link RepeatConfig} object.
|
|
106
|
+
*/
|
|
107
|
+
export declare function repeat<T>(countOrConfig?: number | RepeatConfig): MonoTypeOperatorFunction<T>;
|
|
108
|
+
//# sourceMappingURL=repeat.d.ts.map
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { Observable } from '../Observable';
|
|
2
|
+
import { MonoTypeOperatorFunction, ObservableInput } from '../types';
|
|
3
|
+
/**
|
|
4
|
+
* Returns an Observable that mirrors the source Observable with the exception of a `complete`. If the source
|
|
5
|
+
* Observable calls `complete`, this method will emit to the Observable returned from `notifier`. If that Observable
|
|
6
|
+
* calls `complete` or `error`, then this method will call `complete` or `error` on the child subscription. Otherwise
|
|
7
|
+
* this method will resubscribe to the source Observable.
|
|
8
|
+
*
|
|
9
|
+
* 
|
|
10
|
+
*
|
|
11
|
+
* ## Example
|
|
12
|
+
*
|
|
13
|
+
* Repeat a message stream on click
|
|
14
|
+
*
|
|
15
|
+
* ```ts
|
|
16
|
+
* import { of, fromEvent, repeatWhen } from '../..';
|
|
17
|
+
*
|
|
18
|
+
* const source = of('Repeat message');
|
|
19
|
+
* const documentClick$ = fromEvent(document, 'click');
|
|
20
|
+
*
|
|
21
|
+
* const result = source.pipe(repeatWhen(() => documentClick$));
|
|
22
|
+
*
|
|
23
|
+
* result.subscribe(data => console.log(data))
|
|
24
|
+
* ```
|
|
25
|
+
*
|
|
26
|
+
* @see {@link repeat}
|
|
27
|
+
* @see {@link retry}
|
|
28
|
+
* @see {@link retryWhen}
|
|
29
|
+
*
|
|
30
|
+
* @param notifier Function that receives an Observable of notifications with
|
|
31
|
+
* which a user can `complete` or `error`, aborting the repetition.
|
|
32
|
+
* @return A function that returns an Observable that mirrors the source
|
|
33
|
+
* Observable with the exception of a `complete`.
|
|
34
|
+
* @deprecated Will be removed in v9 or v10. Use {@link repeat}'s {@link RepeatConfig#delay delay} option instead.
|
|
35
|
+
* Instead of `repeatWhen(() => notify$)`, use: `repeat({ delay: () => notify$ })`.
|
|
36
|
+
*/
|
|
37
|
+
export declare function repeatWhen<T>(notifier: (notifications: Observable<void>) => ObservableInput<any>): MonoTypeOperatorFunction<T>;
|
|
38
|
+
//# sourceMappingURL=repeatWhen.d.ts.map
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { MonoTypeOperatorFunction, ObservableInput } from '../types';
|
|
2
|
+
/**
|
|
3
|
+
* The {@link retry} operator configuration object. `retry` either accepts a `number`
|
|
4
|
+
* or an object described by this interface.
|
|
5
|
+
*/
|
|
6
|
+
export interface RetryConfig {
|
|
7
|
+
/**
|
|
8
|
+
* The maximum number of times to retry. If `count` is omitted, `retry` will try to
|
|
9
|
+
* resubscribe on errors infinite number of times.
|
|
10
|
+
*/
|
|
11
|
+
count?: number;
|
|
12
|
+
/**
|
|
13
|
+
* The number of milliseconds to delay before retrying, OR a function to
|
|
14
|
+
* return a notifier for delaying. If a function is given, that function should
|
|
15
|
+
* return a notifier that, when it emits will retry the source. If the notifier
|
|
16
|
+
* completes _without_ emitting, the resulting observable will complete without error,
|
|
17
|
+
* if the notifier errors, the error will be pushed to the result.
|
|
18
|
+
*/
|
|
19
|
+
delay?: number | ((error: any, retryCount: number) => ObservableInput<any>);
|
|
20
|
+
/**
|
|
21
|
+
* Whether or not to reset the retry counter when the retried subscription
|
|
22
|
+
* emits its first value.
|
|
23
|
+
*/
|
|
24
|
+
resetOnSuccess?: boolean;
|
|
25
|
+
}
|
|
26
|
+
export declare function retry<T>(count?: number): MonoTypeOperatorFunction<T>;
|
|
27
|
+
export declare function retry<T>(config: RetryConfig): MonoTypeOperatorFunction<T>;
|
|
28
|
+
//# sourceMappingURL=retry.d.ts.map
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
import { Observable } from '../Observable';
|
|
2
|
+
import { MonoTypeOperatorFunction, ObservableInput } from '../types';
|
|
3
|
+
/**
|
|
4
|
+
* Returns an Observable that mirrors the source Observable with the exception of an `error`. If the source Observable
|
|
5
|
+
* calls `error`, this method will emit the Throwable that caused the error to the `ObservableInput` returned from `notifier`.
|
|
6
|
+
* If that Observable calls `complete` or `error` then this method will call `complete` or `error` on the child
|
|
7
|
+
* subscription. Otherwise this method will resubscribe to the source Observable.
|
|
8
|
+
*
|
|
9
|
+
* 
|
|
10
|
+
*
|
|
11
|
+
* Retry an observable sequence on error based on custom criteria.
|
|
12
|
+
*
|
|
13
|
+
* ## Example
|
|
14
|
+
*
|
|
15
|
+
* ```ts
|
|
16
|
+
* import { interval, map, retryWhen, tap, delayWhen, timer } from '../..';
|
|
17
|
+
*
|
|
18
|
+
* const source = interval(1000);
|
|
19
|
+
* const result = source.pipe(
|
|
20
|
+
* map(value => {
|
|
21
|
+
* if (value > 5) {
|
|
22
|
+
* // error will be picked up by retryWhen
|
|
23
|
+
* throw value;
|
|
24
|
+
* }
|
|
25
|
+
* return value;
|
|
26
|
+
* }),
|
|
27
|
+
* retryWhen(errors =>
|
|
28
|
+
* errors.pipe(
|
|
29
|
+
* // log error message
|
|
30
|
+
* tap(value => console.log(`Value ${ value } was too high!`)),
|
|
31
|
+
* // restart in 5 seconds
|
|
32
|
+
* delayWhen(value => timer(value * 1000))
|
|
33
|
+
* )
|
|
34
|
+
* )
|
|
35
|
+
* );
|
|
36
|
+
*
|
|
37
|
+
* result.subscribe(value => console.log(value));
|
|
38
|
+
*
|
|
39
|
+
* // results:
|
|
40
|
+
* // 0
|
|
41
|
+
* // 1
|
|
42
|
+
* // 2
|
|
43
|
+
* // 3
|
|
44
|
+
* // 4
|
|
45
|
+
* // 5
|
|
46
|
+
* // 'Value 6 was too high!'
|
|
47
|
+
* // - Wait 5 seconds then repeat
|
|
48
|
+
* ```
|
|
49
|
+
*
|
|
50
|
+
* @see {@link retry}
|
|
51
|
+
*
|
|
52
|
+
* @param notifier Function that receives an Observable of notifications with which a
|
|
53
|
+
* user can `complete` or `error`, aborting the retry.
|
|
54
|
+
* @return A function that returns an Observable that mirrors the source
|
|
55
|
+
* Observable with the exception of an `error`.
|
|
56
|
+
* @deprecated Will be removed in v9 or v10, use {@link retry}'s `delay` option instead.
|
|
57
|
+
* Will be removed in v9 or v10. Use {@link retry}'s {@link RetryConfig#delay delay} option instead.
|
|
58
|
+
* Instead of `retryWhen(() => notify$)`, use: `retry({ delay: () => notify$ })`.
|
|
59
|
+
*/
|
|
60
|
+
export declare function retryWhen<T>(notifier: (errors: Observable<any>) => ObservableInput<any>): MonoTypeOperatorFunction<T>;
|
|
61
|
+
//# sourceMappingURL=retryWhen.d.ts.map
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { MonoTypeOperatorFunction, ObservableInput } from '../types';
|
|
2
|
+
/**
|
|
3
|
+
* Emits the most recently emitted value from the source Observable whenever
|
|
4
|
+
* another Observable, the `notifier`, emits.
|
|
5
|
+
*
|
|
6
|
+
* <span class="informal">It's like {@link sampleTime}, but samples whenever
|
|
7
|
+
* the `notifier` `ObservableInput` emits something.</span>
|
|
8
|
+
*
|
|
9
|
+
* 
|
|
10
|
+
*
|
|
11
|
+
* Whenever the `notifier` `ObservableInput` emits a value, `sample`
|
|
12
|
+
* looks at the source Observable and emits whichever value it has most recently
|
|
13
|
+
* emitted since the previous sampling, unless the source has not emitted
|
|
14
|
+
* anything since the previous sampling. The `notifier` is subscribed to as soon
|
|
15
|
+
* as the output Observable is subscribed.
|
|
16
|
+
*
|
|
17
|
+
* ## Example
|
|
18
|
+
*
|
|
19
|
+
* On every click, sample the most recent `seconds` timer
|
|
20
|
+
*
|
|
21
|
+
* ```ts
|
|
22
|
+
* import { fromEvent, interval, sample } from '../..';
|
|
23
|
+
*
|
|
24
|
+
* const seconds = interval(1000);
|
|
25
|
+
* const clicks = fromEvent(document, 'click');
|
|
26
|
+
* const result = seconds.pipe(sample(clicks));
|
|
27
|
+
*
|
|
28
|
+
* result.subscribe(x => console.log(x));
|
|
29
|
+
* ```
|
|
30
|
+
*
|
|
31
|
+
* @see {@link audit}
|
|
32
|
+
* @see {@link debounce}
|
|
33
|
+
* @see {@link sampleTime}
|
|
34
|
+
* @see {@link throttle}
|
|
35
|
+
*
|
|
36
|
+
* @param notifier The `ObservableInput` to use for sampling the
|
|
37
|
+
* source Observable.
|
|
38
|
+
* @return A function that returns an Observable that emits the results of
|
|
39
|
+
* sampling the values emitted by the source Observable whenever the notifier
|
|
40
|
+
* Observable emits value or completes.
|
|
41
|
+
*/
|
|
42
|
+
export declare function sample<T>(notifier: ObservableInput<any>): MonoTypeOperatorFunction<T>;
|
|
43
|
+
//# sourceMappingURL=sample.d.ts.map
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import { MonoTypeOperatorFunction, SchedulerLike } from '../types';
|
|
2
|
+
/**
|
|
3
|
+
* Emits the most recently emitted value from the source Observable within
|
|
4
|
+
* periodic time intervals.
|
|
5
|
+
*
|
|
6
|
+
* <span class="informal">Samples the source Observable at periodic time
|
|
7
|
+
* intervals, emitting what it samples.</span>
|
|
8
|
+
*
|
|
9
|
+
* 
|
|
10
|
+
*
|
|
11
|
+
* `sampleTime` periodically looks at the source Observable and emits whichever
|
|
12
|
+
* value it has most recently emitted since the previous sampling, unless the
|
|
13
|
+
* source has not emitted anything since the previous sampling. The sampling
|
|
14
|
+
* happens periodically in time every `period` milliseconds (or the time unit
|
|
15
|
+
* defined by the optional `scheduler` argument). The sampling starts as soon as
|
|
16
|
+
* the output Observable is subscribed.
|
|
17
|
+
*
|
|
18
|
+
* ## Example
|
|
19
|
+
*
|
|
20
|
+
* Every second, emit the most recent click at most once
|
|
21
|
+
*
|
|
22
|
+
* ```ts
|
|
23
|
+
* import { fromEvent, sampleTime } from '../..';
|
|
24
|
+
*
|
|
25
|
+
* const clicks = fromEvent(document, 'click');
|
|
26
|
+
* const result = clicks.pipe(sampleTime(1000));
|
|
27
|
+
*
|
|
28
|
+
* result.subscribe(x => console.log(x));
|
|
29
|
+
* ```
|
|
30
|
+
*
|
|
31
|
+
* @see {@link auditTime}
|
|
32
|
+
* @see {@link debounceTime}
|
|
33
|
+
* @see {@link delay}
|
|
34
|
+
* @see {@link sample}
|
|
35
|
+
* @see {@link throttleTime}
|
|
36
|
+
*
|
|
37
|
+
* @param period The sampling period expressed in milliseconds or the time unit
|
|
38
|
+
* determined internally by the optional `scheduler`.
|
|
39
|
+
* @param scheduler The {@link SchedulerLike} to use for managing the timers
|
|
40
|
+
* that handle the sampling.
|
|
41
|
+
* @return A function that returns an Observable that emits the results of
|
|
42
|
+
* sampling the values emitted by the source Observable at the specified time
|
|
43
|
+
* interval.
|
|
44
|
+
*/
|
|
45
|
+
export declare function sampleTime<T>(period: number, scheduler?: SchedulerLike): MonoTypeOperatorFunction<T>;
|
|
46
|
+
//# sourceMappingURL=sampleTime.d.ts.map
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { OperatorFunction } from '../types';
|
|
2
|
+
export declare function scan<V, A = V>(accumulator: (acc: A | V, value: V, index: number) => A): OperatorFunction<V, V | A>;
|
|
3
|
+
export declare function scan<V, A>(accumulator: (acc: A, value: V, index: number) => A, seed: A): OperatorFunction<V, A>;
|
|
4
|
+
export declare function scan<V, A, S>(accumulator: (acc: A | S, value: V, index: number) => A, seed: S): OperatorFunction<V, A>;
|
|
5
|
+
//# sourceMappingURL=scan.d.ts.map
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { Observable } from '../Observable';
|
|
2
|
+
import { Subscriber } from '../Subscriber';
|
|
3
|
+
/**
|
|
4
|
+
* A basic scan operation. This is used for `scan` and `reduce`.
|
|
5
|
+
* @param accumulator The accumulator to use
|
|
6
|
+
* @param seed The seed value for the state to accumulate
|
|
7
|
+
* @param hasSeed Whether or not a seed was provided
|
|
8
|
+
* @param emitOnNext Whether or not to emit the state on next
|
|
9
|
+
* @param emitBeforeComplete Whether or not to emit the before completion
|
|
10
|
+
*/
|
|
11
|
+
export declare function scanInternals<V, A, S>(accumulator: (acc: V | A | S, value: V, index: number) => A, seed: S, hasSeed: boolean, emitOnNext: boolean, emitBeforeComplete?: undefined | true): (source: Observable<V>, subscriber: Subscriber<any>) => void;
|
|
12
|
+
//# sourceMappingURL=scanInternals.d.ts.map
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
import { OperatorFunction, ObservableInput } from '../types';
|
|
2
|
+
/**
|
|
3
|
+
* Compares all values of two observables in sequence using an optional comparator function
|
|
4
|
+
* and returns an observable of a single boolean value representing whether or not the two sequences
|
|
5
|
+
* are equal.
|
|
6
|
+
*
|
|
7
|
+
* <span class="informal">Checks to see of all values emitted by both observables are equal, in order.</span>
|
|
8
|
+
*
|
|
9
|
+
* 
|
|
10
|
+
*
|
|
11
|
+
* `sequenceEqual` subscribes to source observable and `compareTo` `ObservableInput` (that internally
|
|
12
|
+
* gets converted to an observable) and buffers incoming values from each observable. Whenever either
|
|
13
|
+
* observable emits a value, the value is buffered and the buffers are shifted and compared from the bottom
|
|
14
|
+
* up; If any value pair doesn't match, the returned observable will emit `false` and complete. If one of the
|
|
15
|
+
* observables completes, the operator will wait for the other observable to complete; If the other
|
|
16
|
+
* observable emits before completing, the returned observable will emit `false` and complete. If one observable never
|
|
17
|
+
* completes or emits after the other completes, the returned observable will never complete.
|
|
18
|
+
*
|
|
19
|
+
* ## Example
|
|
20
|
+
*
|
|
21
|
+
* Figure out if the Konami code matches
|
|
22
|
+
*
|
|
23
|
+
* ```ts
|
|
24
|
+
* import { from, fromEvent, map, bufferCount, mergeMap, sequenceEqual } from '../..';
|
|
25
|
+
*
|
|
26
|
+
* const codes = from([
|
|
27
|
+
* 'ArrowUp',
|
|
28
|
+
* 'ArrowUp',
|
|
29
|
+
* 'ArrowDown',
|
|
30
|
+
* 'ArrowDown',
|
|
31
|
+
* 'ArrowLeft',
|
|
32
|
+
* 'ArrowRight',
|
|
33
|
+
* 'ArrowLeft',
|
|
34
|
+
* 'ArrowRight',
|
|
35
|
+
* 'KeyB',
|
|
36
|
+
* 'KeyA',
|
|
37
|
+
* 'Enter', // no start key, clearly.
|
|
38
|
+
* ]);
|
|
39
|
+
*
|
|
40
|
+
* const keys = fromEvent<KeyboardEvent>(document, 'keyup').pipe(map(e => e.code));
|
|
41
|
+
* const matches = keys.pipe(
|
|
42
|
+
* bufferCount(11, 1),
|
|
43
|
+
* mergeMap(last11 => from(last11).pipe(sequenceEqual(codes)))
|
|
44
|
+
* );
|
|
45
|
+
* matches.subscribe(matched => console.log('Successful cheat at Contra? ', matched));
|
|
46
|
+
* ```
|
|
47
|
+
*
|
|
48
|
+
* @see {@link combineLatest}
|
|
49
|
+
* @see {@link zip}
|
|
50
|
+
* @see {@link withLatestFrom}
|
|
51
|
+
*
|
|
52
|
+
* @param compareTo The `ObservableInput` sequence to compare the source sequence to.
|
|
53
|
+
* @param comparator An optional function to compare each value pair.
|
|
54
|
+
*
|
|
55
|
+
* @return A function that returns an Observable that emits a single boolean
|
|
56
|
+
* value representing whether or not the values emitted by the source
|
|
57
|
+
* Observable and provided `ObservableInput` were equal in sequence.
|
|
58
|
+
*/
|
|
59
|
+
export declare function sequenceEqual<T>(compareTo: ObservableInput<T>, comparator?: (a: T, b: T) => boolean): OperatorFunction<T, boolean>;
|
|
60
|
+
//# sourceMappingURL=sequenceEqual.d.ts.map
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { MonoTypeOperatorFunction, SubjectLike, ObservableInput } from '../types';
|
|
2
|
+
export interface ShareConfig<T> {
|
|
3
|
+
/**
|
|
4
|
+
* The factory used to create the subject that will connect the source observable to
|
|
5
|
+
* multicast consumers.
|
|
6
|
+
*/
|
|
7
|
+
connector?: () => SubjectLike<T>;
|
|
8
|
+
/**
|
|
9
|
+
* If `true`, the resulting observable will reset internal state on error from source and return to a "cold" state. This
|
|
10
|
+
* allows the resulting observable to be "retried" in the event of an error.
|
|
11
|
+
* If `false`, when an error comes from the source it will push the error into the connecting subject, and the subject
|
|
12
|
+
* will remain the connecting subject, meaning the resulting observable will not go "cold" again, and subsequent retries
|
|
13
|
+
* or resubscriptions will resubscribe to that same subject. In all cases, RxJS subjects will emit the same error again, however
|
|
14
|
+
* {@link ReplaySubject} will also push its buffered values before pushing the error.
|
|
15
|
+
* It is also possible to pass a notifier factory returning an `ObservableInput` instead which grants more fine-grained
|
|
16
|
+
* control over how and when the reset should happen. This allows behaviors like conditional or delayed resets.
|
|
17
|
+
*/
|
|
18
|
+
resetOnError?: boolean | ((error: any) => ObservableInput<any>);
|
|
19
|
+
/**
|
|
20
|
+
* If `true`, the resulting observable will reset internal state on completion from source and return to a "cold" state. This
|
|
21
|
+
* allows the resulting observable to be "repeated" after it is done.
|
|
22
|
+
* If `false`, when the source completes, it will push the completion through the connecting subject, and the subject
|
|
23
|
+
* will remain the connecting subject, meaning the resulting observable will not go "cold" again, and subsequent repeats
|
|
24
|
+
* or resubscriptions will resubscribe to that same subject.
|
|
25
|
+
* It is also possible to pass a notifier factory returning an `ObservableInput` instead which grants more fine-grained
|
|
26
|
+
* control over how and when the reset should happen. This allows behaviors like conditional or delayed resets.
|
|
27
|
+
*/
|
|
28
|
+
resetOnComplete?: boolean | (() => ObservableInput<any>);
|
|
29
|
+
/**
|
|
30
|
+
* If `true`, when the number of subscribers to the resulting observable reaches zero due to those subscribers unsubscribing, the
|
|
31
|
+
* internal state will be reset and the resulting observable will return to a "cold" state. This means that the next
|
|
32
|
+
* time the resulting observable is subscribed to, a new subject will be created and the source will be subscribed to
|
|
33
|
+
* again.
|
|
34
|
+
* If `false`, when the number of subscribers to the resulting observable reaches zero due to unsubscription, the subject
|
|
35
|
+
* will remain connected to the source, and new subscriptions to the result will be connected through that same subject.
|
|
36
|
+
* It is also possible to pass a notifier factory returning an `ObservableInput` instead which grants more fine-grained
|
|
37
|
+
* control over how and when the reset should happen. This allows behaviors like conditional or delayed resets.
|
|
38
|
+
*/
|
|
39
|
+
resetOnRefCountZero?: boolean | (() => ObservableInput<any>);
|
|
40
|
+
}
|
|
41
|
+
export declare function share<T>(): MonoTypeOperatorFunction<T>;
|
|
42
|
+
export declare function share<T>(options: ShareConfig<T>): MonoTypeOperatorFunction<T>;
|
|
43
|
+
//# sourceMappingURL=share.d.ts.map
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { MonoTypeOperatorFunction, SchedulerLike } from '../types';
|
|
2
|
+
export interface ShareReplayConfig {
|
|
3
|
+
bufferSize?: number;
|
|
4
|
+
windowTime?: number;
|
|
5
|
+
refCount: boolean;
|
|
6
|
+
scheduler?: SchedulerLike;
|
|
7
|
+
}
|
|
8
|
+
export declare function shareReplay<T>(config: ShareReplayConfig): MonoTypeOperatorFunction<T>;
|
|
9
|
+
export declare function shareReplay<T>(bufferSize?: number, windowTime?: number, scheduler?: SchedulerLike): MonoTypeOperatorFunction<T>;
|
|
10
|
+
//# sourceMappingURL=shareReplay.d.ts.map
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { Observable } from '../Observable';
|
|
2
|
+
import { MonoTypeOperatorFunction, OperatorFunction, TruthyTypesOf } from '../types';
|
|
3
|
+
export declare function single<T>(predicate: BooleanConstructor): OperatorFunction<T, TruthyTypesOf<T>>;
|
|
4
|
+
export declare function single<T>(predicate?: (value: T, index: number, source: Observable<T>) => boolean): MonoTypeOperatorFunction<T>;
|
|
5
|
+
//# sourceMappingURL=single.d.ts.map
|