Refactor routing in App component to enhance navigation and improve error handling by integrating dynamic routes and updating the NotFound route.
This commit is contained in:
16
node_modules/mdast-util-to-hast/lib/handlers/html.d.ts
generated
vendored
Normal file
16
node_modules/mdast-util-to-hast/lib/handlers/html.d.ts
generated
vendored
Normal file
@@ -0,0 +1,16 @@
|
||||
/**
|
||||
* Turn an mdast `html` node into hast (`raw` node in dangerous mode, otherwise
|
||||
* nothing).
|
||||
*
|
||||
* @param {State} state
|
||||
* Info passed around.
|
||||
* @param {Html} node
|
||||
* mdast node.
|
||||
* @returns {Element | Raw | undefined}
|
||||
* hast node.
|
||||
*/
|
||||
export function html(state: State, node: Html): Element | Raw | undefined;
|
||||
export type Element = import("hast").Element;
|
||||
export type Html = import("mdast").Html;
|
||||
export type State = import("../state.js").State;
|
||||
export type Raw = import("../../index.js").Raw;
|
Reference in New Issue
Block a user