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:
55
node_modules/remark-parse/index.d.ts
generated
vendored
Normal file
55
node_modules/remark-parse/index.d.ts
generated
vendored
Normal file
@@ -0,0 +1,55 @@
|
||||
import type {Root} from 'mdast'
|
||||
import type {Extension as FromMarkdownExtension} from 'mdast-util-from-markdown'
|
||||
import type {Extension as MicromarkExtension} from 'micromark-util-types'
|
||||
import type {Plugin} from 'unified'
|
||||
import type {Options} from './lib/index.js'
|
||||
|
||||
export type {Options} from './lib/index.js'
|
||||
|
||||
/**
|
||||
* Add support for parsing from markdown.
|
||||
*
|
||||
* @this
|
||||
* Unified processor.
|
||||
* @param
|
||||
* Configuration (optional).
|
||||
* @returns
|
||||
* Nothing.
|
||||
*/
|
||||
declare const remarkParse: Plugin<
|
||||
[(Readonly<Options> | null | undefined)?],
|
||||
string,
|
||||
Root
|
||||
>
|
||||
export default remarkParse
|
||||
|
||||
// Add custom settings supported when `remark-parse` is added.
|
||||
declare module 'unified' {
|
||||
interface Settings extends Options {}
|
||||
|
||||
interface Data {
|
||||
/**
|
||||
* List of `micromark` extensions to use.
|
||||
*
|
||||
* This type is registered by `remark-parse`.
|
||||
* Values can be registered by remark plugins that extend `micromark` and
|
||||
* `mdast-util-from-markdown`.
|
||||
* See {@link MicromarkExtension | `Extension`} from
|
||||
* {@link https://github.com/micromark/micromark/tree/main/packages/micromark-util-types | `micromark-util-types`}.
|
||||
*/
|
||||
micromarkExtensions?: MicromarkExtension[]
|
||||
|
||||
/**
|
||||
* List of `mdast-util-from-markdown` extensions to use.
|
||||
*
|
||||
* This type is registered by `remark-parse`.
|
||||
* Values can be registered by remark plugins that extend `micromark` and
|
||||
* `mdast-util-from-markdown`.
|
||||
* See {@link FromMarkdownExtension | `Extension`} from
|
||||
* {@link https://github.com/syntax-tree/mdast-util-from-markdown#extension | `mdast-util-from-markdown`}.
|
||||
*/
|
||||
fromMarkdownExtensions?: Array<
|
||||
FromMarkdownExtension[] | FromMarkdownExtension
|
||||
>
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user