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/astro/dist/runtime/server/escape.d.ts
generated
vendored
Normal file
22
node_modules/astro/dist/runtime/server/escape.d.ts
generated
vendored
Normal file
@@ -0,0 +1,22 @@
|
||||
import { escape } from 'html-escaper';
|
||||
export declare const escapeHTML: typeof escape;
|
||||
export declare class HTMLBytes extends Uint8Array {
|
||||
}
|
||||
/**
|
||||
* A "blessed" extension of String that tells Astro that the string
|
||||
* has already been escaped. This helps prevent double-escaping of HTML.
|
||||
*/
|
||||
export declare class HTMLString extends String {
|
||||
get [Symbol.toStringTag](): string;
|
||||
}
|
||||
type BlessedType = string | HTMLBytes;
|
||||
/**
|
||||
* markHTMLString marks a string as raw or "already escaped" by returning
|
||||
* a `HTMLString` instance. This is meant for internal use, and should not
|
||||
* be returned through any public JS API.
|
||||
*/
|
||||
export declare const markHTMLString: (value: any) => any;
|
||||
export declare function isHTMLString(value: any): value is HTMLString;
|
||||
export declare function isHTMLBytes(value: any): value is HTMLBytes;
|
||||
export declare function unescapeHTML(str: any): BlessedType | Promise<BlessedType | AsyncGenerator<BlessedType, void, unknown>> | AsyncGenerator<BlessedType, void, unknown>;
|
||||
export {};
|
Reference in New Issue
Block a user