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/revert.d.ts
generated
vendored
Normal file
15
node_modules/mdast-util-to-hast/lib/revert.d.ts
generated
vendored
Normal file
@@ -0,0 +1,15 @@
|
||||
/**
|
||||
* Return the content of a reference without definition as plain text.
|
||||
*
|
||||
* @param {State} state
|
||||
* Info passed around.
|
||||
* @param {Extract<Nodes, Reference>} node
|
||||
* Reference node (image, link).
|
||||
* @returns {Array<ElementContent>}
|
||||
* hast content.
|
||||
*/
|
||||
export function revert(state: State, node: Extract<Nodes, Reference>): Array<ElementContent>;
|
||||
export type ElementContent = import("hast").ElementContent;
|
||||
export type Nodes = import("mdast").Nodes;
|
||||
export type Reference = import("mdast").Reference;
|
||||
export type State = import("./state.js").State;
|
Reference in New Issue
Block a user