UNPKG

jsfast

Version:

Fastjs(jsfast) is a useful, lightweight JavaScript library for any types of project.

17 lines (16 loc) 668 B
import selector from "./selector"; import { createFastjsDom } from "./dom"; import { createFastjsDomList } from "./dom-list"; import type { FastjsDom } from "./dom-types"; import type { FastjsDomList } from "./dom-list-types"; interface DomModule { <T extends FastjsDom<any> | FastjsDomList | null = FastjsDom | FastjsDomList | null>(target?: string, parent?: Document | HTMLElement | HTMLElement[]): T; select: typeof selector; newEl: typeof createFastjsDom; newElList: typeof createFastjsDomList; } declare const dom: DomModule; export default dom; export type * from "./def"; export type * from "./dom-types"; export type * from "./dom-list-types";