chore (dts): types

This commit is contained in:
MickaelK 2023-11-30 00:17:43 +11:00
parent 00a18772c1
commit e58b5ec760
3 changed files with 10 additions and 4 deletions

View file

@ -26,6 +26,10 @@
border-radius: 2px;
box-sizing: border-box;
}
.formbuilder > label > img {
max-height: 110px;
width: 100%;
}
.formbuilder .fileupload-image object {
background: var(--bg-color);
height: 300px;

View file

@ -12,7 +12,7 @@ type AnimationFrames = {
height?: string;
};
export function transition($node: HTMLElement, opts: TransitionEnter | TransitionLeave): HTMLElement;
export function transition($node: HTMLElement, opts?: TransitionEnter | TransitionLeave): HTMLElement;
export function animate($node: HTMLElement | null, opts: {
time: number;

View file

@ -1,11 +1,11 @@
import type { Observable, Observer } from "rx-core";
import type { Observer } from "rx-core";
import {
fromEvent, startWith,
Observable, fromEvent, startWith,
catchError, tap, first, of,
map, mapTo, filter, mergeMap, EMPTY, empty,
switchMapTo, switchMap,
BehaviorSubject, Subject,
BehaviorSubject, Subject, ReplaySubject,
pipe, share, toArray, distinctUntilChanged, from,
combineLatest, shareReplay, repeat, interval, merge,
debounceTime, delay, concatMap, distinct, scan, throwError,
@ -16,7 +16,9 @@ import * as rxajax from "./vendor/rxjs-ajax.min.js";
declare const rxjs: {
of: typeof of,
from: typeof from,
Observable: typeof Observable,
BehaviorSubject: typeof BehaviorSubject,
ReplaySubject: typeof ReplaySubject,
Subject: typeof Subject,
catchError: typeof catchError,
combineLatest: typeof combineLatest,