Files
dealplustech/node_modules/hast-util-from-parse5/lib/index.d.ts
Kunthawat Greethong 6562a1748f fix: Fix product page syntax errors
1. Remove duplicate/broken code in product tables section
2. Fix PostCSS config for Tailwind 4
3. Add @tailwindcss/postcss dependency
4. Remove --production flag from Dockerfile (sharp required)

All fixes enable successful Docker build with favicon working.
2026-03-03 14:57:46 +07:00

38 lines
1001 B
TypeScript

/**
* Transform a `parse5` AST to hast.
*
* @param {DefaultTreeAdapterMap['node']} tree
* `parse5` tree to transform.
* @param {Options | null | undefined} [options]
* Configuration (optional).
* @returns {Nodes}
* hast tree.
*/
export function fromParse5(tree: DefaultTreeAdapterMap["node"], options?: Options | null | undefined): Nodes;
/**
* Info passed around about the current state.
*/
export type State = {
/**
* Corresponding file.
*/
file: VFile | undefined;
/**
* Whether location info was found.
*/
location: boolean;
/**
* Current schema.
*/
schema: Schema;
/**
* Add extra positional info.
*/
verbose: boolean | undefined;
};
import type { DefaultTreeAdapterMap } from 'parse5';
import type { Options } from 'hast-util-from-parse5';
import type { Nodes } from 'hast';
import type { VFile } from 'vfile';
import type { Schema } from 'property-information';
//# sourceMappingURL=index.d.ts.map