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:
22
node_modules/vfile-location/lib/index.d.ts
generated
vendored
Normal file
22
node_modules/vfile-location/lib/index.d.ts
generated
vendored
Normal file
@@ -0,0 +1,22 @@
|
||||
/**
|
||||
* @import {VFile, Value} from 'vfile'
|
||||
* @import {Location} from 'vfile-location'
|
||||
*/
|
||||
/**
|
||||
* Create an index of the given document to translate between line/column and
|
||||
* offset based positional info.
|
||||
*
|
||||
* Also implemented in Rust in [`wooorm/markdown-rs`][markdown-rs].
|
||||
*
|
||||
* [markdown-rs]: https://github.com/wooorm/markdown-rs/blob/main/src/util/location.rs
|
||||
*
|
||||
* @param {VFile | Value} file
|
||||
* File to index.
|
||||
* @returns {Location}
|
||||
* Accessors for index.
|
||||
*/
|
||||
export function location(file: VFile | Value): Location;
|
||||
import type { VFile } from 'vfile';
|
||||
import type { Value } from 'vfile';
|
||||
import type { Location } from 'vfile-location';
|
||||
//# sourceMappingURL=index.d.ts.map
|
Reference in New Issue
Block a user