UNPKG

@ngspot/ngx-errors

Version:

<p align="center"> <img width="20%" height="20%" src="https://github.com/DmitryEfimenko/ngspot/blob/main/packages/ngx-errors/package/assets/logo.png?raw=true"> </p>

16 lines (15 loc) 617 B
import { AbstractControl } from '@angular/forms'; import { Observable, UnaryFunction } from 'rxjs'; /** * Extract arguments of function */ export type ArgumentsType<F> = F extends (...args: infer A) => any ? A : never; /** * Marks the provided control as well as all of its children as dirty * @param options to be passed into control.markAsDirty() call */ export declare function markDescendantsAsDirty(control: AbstractControl, options?: { onlySelf?: boolean; emitEvent?: boolean; }): void; export declare function filterOutNullish<T>(): UnaryFunction<Observable<T | null | undefined>, Observable<T>>;