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:
15
node_modules/mdast-util-to-hast/lib/handlers/root.d.ts
generated
vendored
Normal file
15
node_modules/mdast-util-to-hast/lib/handlers/root.d.ts
generated
vendored
Normal file
@@ -0,0 +1,15 @@
|
||||
/**
|
||||
* Turn an mdast `root` node into hast.
|
||||
*
|
||||
* @param {State} state
|
||||
* Info passed around.
|
||||
* @param {MdastRoot} node
|
||||
* mdast node.
|
||||
* @returns {HastParents}
|
||||
* hast node.
|
||||
*/
|
||||
export function root(state: State, node: MdastRoot): HastParents;
|
||||
export type HastParents = import("hast").Parents;
|
||||
export type HastRoot = import("hast").Root;
|
||||
export type MdastRoot = import("mdast").Root;
|
||||
export type State = import("../state.js").State;
|
Reference in New Issue
Block a user