fix
This commit is contained in:
20
book/node_modules/cheerio/dist/browser/load-parse.d.ts
generated
vendored
Normal file
20
book/node_modules/cheerio/dist/browser/load-parse.d.ts
generated
vendored
Normal file
@ -0,0 +1,20 @@
|
||||
import { type CheerioAPI } from './load.js';
|
||||
import type { CheerioOptions } from './options.js';
|
||||
import type { AnyNode } from 'domhandler';
|
||||
/**
|
||||
* Create a querying function, bound to a document created from the provided
|
||||
* markup.
|
||||
*
|
||||
* Note that similar to web browser contexts, this operation may introduce
|
||||
* `<html>`, `<head>`, and `<body>` elements; set `isDocument` to `false` to
|
||||
* switch to fragment mode and disable this.
|
||||
*
|
||||
* @category Loading
|
||||
* @param content - Markup to be loaded.
|
||||
* @param options - Options for the created instance.
|
||||
* @param isDocument - Allows parser to be switched to fragment mode.
|
||||
* @returns The loaded document.
|
||||
* @see {@link https://cheerio.js.org#loading} for additional usage information.
|
||||
*/
|
||||
export declare const load: (content: string | AnyNode | AnyNode[] | Buffer, options?: CheerioOptions | null, isDocument?: boolean) => CheerioAPI;
|
||||
//# sourceMappingURL=load-parse.d.ts.map
|
Reference in New Issue
Block a user