forked from dvargas92495/roamjs-com
-
Notifications
You must be signed in to change notification settings - Fork 0
/
next-env.d.ts
59 lines (53 loc) · 1.5 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
51
52
53
54
55
56
57
58
59
/// <reference types="next" />
/// <reference types="next/types/global" />
/// <reference types="next-react-svg" />
declare module "*.mdx" {
const MDXComponent: React.FunctionComponent;
export default MDXComponent;
export const frontMatter: FrontMatter[];
}
declare module "@mozilla/readability" {
export { default as Readability } from "mozilla-readability";
}
declare module "react-charts" {
type SeriesType = "line" | "bubble" | "area" | "bar";
type AxisType = "ordinal" | "time" | "utc" | "linear" | "log";
export const Chart: React.FunctionComponent<{
data: { label: string; data: (number | string | Date)[][] }[];
axes: { primary?: boolean; type: AxisType; position: string }[];
series: {
type: SeriesType;
};
defaultColors?: string[];
}>;
}
declare module "reveal.js" {
type RevealOptions = {
embedded?: boolean;
slideNumber?: string;
width?: number;
height?: number;
showNotes?: boolean;
minScale?: number;
maxScale?: number;
backgroundTransition?: string;
};
declare class Reveal {
constructor(options: RevealOptions);
initialize: () => void;
slide: (h: number) => void;
on: (s: string, callback: () => void) => void;
}
export default Reveal;
}
declare module "*.ne" {
import Nearley from "nearley";
const Rules: Nearley.CompiledRules;
export default Rules;
}
declare module "../pages/services/*" {
const blob: {
_importMeta: { absolutePath: string; importedPath: string }[];
};
export default blob;
}