-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnext-env.d.ts
51 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
51
/// <reference types="next" />
/// <reference types="next/types/global" />
declare module '*.mdx' {
let MDXComponent: (props: any) => JSX.Element
export default MDXComponent
}
declare module '*.txt' {
export default string
}
declare module "ical.js" {
class Component {
constructor(x: ComponentName | JCAL, parent?: Component)
addPropertyWithValue(name: string, value: string | number | object): Property
updatePropertyWithValue(name: string, value: string | number | object): Property
addSubcomponent(c:Component)
toString():string
}
class Property {
}
class Event {
constructor(component?:Component)
organizer: string
summary: string
description: string
uid: string
startDate: Time
endDate: Time
location: string
}
class Time {
static now():Time
static fromJSDate(d: Date, useUTC?: boolean):Time
}
class Duration {
constructor(data:Partial<{
weeks: number,
months: number,
days: number,
hours: number,
minutes: number,
seconds: number
}>)
}
}
declare module "remark-emoji" {
any
}