first
This commit is contained in:
commit
8538ab969a
434 changed files with 44051 additions and 0 deletions
16
apps/web/global.d.ts
vendored
Normal file
16
apps/web/global.d.ts
vendored
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
import type { Messages } from "@repo/i18n";
|
||||
import type { JSX as Jsx } from "react/jsx-runtime";
|
||||
|
||||
// temporary fix for mdx types
|
||||
// TODO: remove once mdx has fully compatibility with react 19
|
||||
declare global {
|
||||
namespace JSX {
|
||||
type ElementClass = Jsx.ElementClass;
|
||||
type Element = Jsx.Element;
|
||||
type IntrinsicElements = Jsx.IntrinsicElements;
|
||||
}
|
||||
}
|
||||
|
||||
declare global {
|
||||
interface IntlMessages extends Messages {}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue