✏️ 编辑:compile.d.ts
路径:
/home/boguraj1/public_html/jobsite/node_modules/css-select/lib/compile.d.ts
大小:962 B · 修改:2022-11-21 20:08:18 · 权限:0644 · 可写
← 返回目录
👁 查看
⬇ 下载
import { InternalSelector } from "./types"; import { Selector } from "css-what"; import type { CompiledQuery, InternalOptions } from "./types"; /** * Compiles a selector to an executable function. * * @param selector Selector to compile. * @param options Compilation options. * @param context Optional context for the selector. */ export declare function compile<Node, ElementNode extends Node>(selector: string | Selector[][], options: InternalOptions<Node, ElementNode>, context?: Node[] | Node): CompiledQuery<Node>; export declare function compileUnsafe<Node, ElementNode extends Node>(selector: string | Selector[][], options: InternalOptions<Node, ElementNode>, context?: Node[] | Node): CompiledQuery<ElementNode>; export declare function compileToken<Node, ElementNode extends Node>(token: InternalSelector[][], options: InternalOptions<Node, ElementNode>, context?: Node[] | Node): CompiledQuery<ElementNode>; //# sourceMappingURL=compile.d.ts.map
💾 保存
取消
保存为 UTF-8,换行统一为 LF