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:
26
node_modules/stringify-entities/lib/core.d.ts
generated
vendored
Normal file
26
node_modules/stringify-entities/lib/core.d.ts
generated
vendored
Normal file
@@ -0,0 +1,26 @@
|
||||
/**
|
||||
* Encode certain characters in `value`.
|
||||
*
|
||||
* @param {string} value
|
||||
* @param {CoreWithFormatOptions} options
|
||||
* @returns {string}
|
||||
*/
|
||||
export function core(value: string, options: CoreWithFormatOptions): string;
|
||||
export type CoreOptions = {
|
||||
/**
|
||||
* Whether to only escape the given subset of characters.
|
||||
*/
|
||||
subset?: ReadonlyArray<string>;
|
||||
/**
|
||||
* Whether to only escape possibly dangerous characters.
|
||||
* Those characters are `"`, `&`, `'`, `<`, `>`, and `` ` ``.
|
||||
*/
|
||||
escapeOnly?: boolean;
|
||||
};
|
||||
export type FormatOptions = {
|
||||
/**
|
||||
* Format strategy.
|
||||
*/
|
||||
format: (code: number, next: number, options: CoreWithFormatOptions) => string;
|
||||
};
|
||||
export type CoreWithFormatOptions = CoreOptions & FormatOptions & import('./util/format-smart.js').FormatSmartOptions;
|
Reference in New Issue
Block a user