Skip to content

Commit

Permalink
chore: update golden files
Browse files Browse the repository at this point in the history
  • Loading branch information
benlesh committed Aug 5, 2020
1 parent c0fa0d7 commit 90a9b23
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
10 changes: 5 additions & 5 deletions api_guard/dist/types/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ export declare class ConnectableObservable<T> extends Observable<T> {
refCount(): Observable<T>;
}

export declare type Cons<X, Y extends any[]> = ((arg: X, ...rest: Y) => any) extends ((...args: infer U) => any) ? U : never;
export declare type Cons<X, Y extends any[]> = ((arg: X, ...rest: Y) => any) extends (...args: infer U) => any ? U : never;

export declare function defer<R extends ObservableInput<any>>(observableFactory: () => R): Observable<ObservedValueOf<R>>;

Expand Down Expand Up @@ -256,7 +256,7 @@ export declare class GroupedObservable<K, T> extends Observable<T> {
_subscribe(subscriber: Subscriber<T>): Subscription;
}

export declare type Head<X extends any[]> = ((...args: X) => any) extends ((arg: infer U, ...rest: any[]) => any) ? U : never;
export declare type Head<X extends any[]> = ((...args: X) => any) extends (arg: infer U, ...rest: any[]) => any ? U : never;

export declare function identity<T>(x: T): T;

Expand Down Expand Up @@ -560,7 +560,7 @@ export interface SubscriptionLike extends Unsubscribable {
unsubscribe(): void;
}

export declare type Tail<X extends any[]> = ((...args: X) => any) extends ((arg: any, ...rest: infer U) => any) ? U : never;
export declare type Tail<X extends any[]> = ((...args: X) => any) extends (arg: any, ...rest: infer U) => any ? U : never;

export declare type TeardownLogic = Unsubscribable | Function | void;

Expand Down Expand Up @@ -608,9 +608,9 @@ export declare type ValueFromArray<A> = A extends Array<infer T> ? T : never;

export declare type ValueFromNotification<T> = T extends {
kind: 'N' | 'E' | 'C';
} ? (T extends NextNotification<any> ? (T extends {
} ? T extends NextNotification<any> ? T extends {
value: infer V;
} ? V : undefined) : never) : never;
} ? V : undefined : never : never;

export declare class VirtualAction<T> extends AsyncAction<T> {
protected active: boolean;
Expand Down
1 change: 1 addition & 0 deletions api_guard/dist/types/operators/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -258,6 +258,7 @@ export declare function scan<V, A, S>(accumulator: (acc: A | S, value: V, index:
export declare function sequenceEqual<T>(compareTo: Observable<T>, comparator?: (a: T, b: T) => boolean): OperatorFunction<T, boolean>;

export declare function share<T>(): MonoTypeOperatorFunction<T>;
export declare function share<T, R = T>(options: ShareOptions<T, R>): OperatorFunction<T, R>;

export declare function shareReplay<T>(config: ShareReplayConfig): MonoTypeOperatorFunction<T>;
export declare function shareReplay<T>(bufferSize?: number, windowTime?: number, scheduler?: SchedulerLike): MonoTypeOperatorFunction<T>;
Expand Down

0 comments on commit 90a9b23

Please sign in to comment.