source: trip-planner-front/node_modules/css-select/lib/compile.d.ts@ fa375fe

Last change on this file since fa375fe was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago

initial commit

  • Property mode set to 100644
File size: 962 bytes
RevLine 
[6a3a178]1import { InternalSelector } from "./types";
2import { Selector } from "css-what";
3import type { CompiledQuery, InternalOptions } from "./types";
4/**
5 * Compiles a selector to an executable function.
6 *
7 * @param selector Selector to compile.
8 * @param options Compilation options.
9 * @param context Optional context for the selector.
10 */
11export declare function compile<Node, ElementNode extends Node>(selector: string | Selector[][], options: InternalOptions<Node, ElementNode>, context?: Node[] | Node): CompiledQuery<Node>;
12export declare function compileUnsafe<Node, ElementNode extends Node>(selector: string | Selector[][], options: InternalOptions<Node, ElementNode>, context?: Node[] | Node): CompiledQuery<ElementNode>;
13export declare function compileToken<Node, ElementNode extends Node>(token: InternalSelector[][], options: InternalOptions<Node, ElementNode>, context?: Node[] | Node): CompiledQuery<ElementNode>;
14//# sourceMappingURL=compile.d.ts.map
Note: See TracBrowser for help on using the repository browser.