Files
authentik/web/src/global.d.ts
Teffen Ellis 0b806b7130 web: Client-side MDX rendering (#13610)
* web: Allow build errors to propagate.

* web: Refactor MDX for client-side rendering.

* Remove override

Signed-off-by: Teffen Ellis <592134+GirlBossRush@users.noreply.github.com>

* revert css for links and tables

Signed-off-by: Jens Langhammer <jens@goauthentik.io>

* web: Move Markdown specific styles.

---------

Signed-off-by: Teffen Ellis <592134+GirlBossRush@users.noreply.github.com>
Signed-off-by: Jens Langhammer <jens@goauthentik.io>
Co-authored-by: Jens Langhammer <jens@goauthentik.io>
2025-03-21 19:32:52 +00:00

25 lines
529 B
TypeScript

declare module "*.css";
declare module "*.md" {
/**
* The serialized JSON content of an MD file.
*/
const serializedJSON: string;
export default serializedJSON;
}
declare module "*.mdx" {
/**
* The serialized JSON content of an MDX file.
*/
const serializedJSON: string;
export default serializedJSON;
}
declare namespace Intl {
class ListFormat {
constructor(locale: string, args: { [key: string]: string });
public format: (items: string[]) => string;
}
}