jsfast
Version:
Fastjs(jsfast) is a useful, lightweight JavaScript library for any types of project.
6 lines (5 loc) • 348 B
TypeScript
import type { ElementList } from "./def";
import type { FastjsDom } from "./dom-types";
import type { FastjsDomList } from "./dom-list-types";
declare function selector<T extends FastjsDom<any> | FastjsDomList | null = FastjsDom | FastjsDomList | null>(target?: string, parent?: Document | ElementList | ElementList[]): T;
export default selector;