forked from BabylonJS/Documentation
-
Notifications
You must be signed in to change notification settings - Fork 0
/
next-env.d.ts
50 lines (47 loc) · 1.09 KB
/
next-env.d.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
/// <reference types="next" />
/// <reference types="next/types/global" />
declare module "*.scss" {
export const content: { [className: string]: string };
export default content;
}
declare module '@mdx-js/react' {
import * as React from 'react'
type ComponentType =
| 'a'
| 'blockquote'
| 'code'
| 'delete'
| 'em'
| 'h1'
| 'h2'
| 'h3'
| 'h4'
| 'h5'
| 'h6'
| 'hr'
| 'img'
| 'inlineCode'
| 'li'
| 'ol'
| 'p'
| 'pre'
| 'strong'
| 'sup'
| 'table'
| 'td'
| 'thematicBreak'
| 'tr'
| 'ul'
export type Components = {
[key in ComponentType]?: React.ComponentType<{children: React.ReactNode}>
}
export interface MDXProviderProps {
children: React.ReactNode
components: Components
}
export class MDXProvider extends React.Component<MDXProviderProps> {}
}
declare module "*.mdx" {
let MDXComponent: (props: any) => JSX.Element;
export default MDXComponent;
}