-
Notifications
You must be signed in to change notification settings - Fork 210
Expand file tree
/
Copy pathtypings.d.ts
More file actions
70 lines (61 loc) · 1.91 KB
/
typings.d.ts
File metadata and controls
70 lines (61 loc) · 1.91 KB
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
60
61
62
63
64
65
66
67
68
69
70
// ==LICENSE-BEGIN==
// Copyright 2017 European Digital Reading Lab. All rights reserved.
// Licensed to the Readium Foundation under one or more contributor license agreements.
// Use of this source code is governed by a BSD-style license
// that can be found in the LICENSE file exposed on Github (readium) in the project repository.
// ==LICENSE-END==
declare module "*.json" {
const value: any;
export default value;
}
declare module "*.md" {
const content: string;
export default content;
}
declare module "*.png" {
const content: string;
export default content;
}
// declare module "*.css" {
// interface IClassNames {
// [className: string]: string
// }
// const classNames: IClassNames;
// export = classNames;
// }
declare module "*.svg" {
interface IProps {
[propName: string]: any;
}
const props: IProps;
export default props;
}
declare module "*.ttf" {
const value: any;
export default value;
}
declare const __TH__IS_DEV__: boolean;
declare const __TH__IS_PACKAGED__: boolean;
declare const __TH__SKIP_LCP_LSD__: boolean;
declare const __TH__IS_VSCODE_LAUNCH__: boolean;
declare const __TH__IS_CI__: boolean;
declare const __TH__CUSTOMIZATION_PROFILE_PRIVATE_KEY__: string;
// declare const __TH__CUSTOMIZATION_PROFILE_PUB_KEY__: string;
declare module "bindings";
declare module "debug/src/node";
declare module "debug/src/browser";
declare module "debug/src/common";
declare module "json-diff";
// declare module "slugify";
// declare module "css2json";
// declare module "json-markup";
// declare module "filehound";
// declare module "selfsigned";
declare module "cssesc";
declare module "css.escape";
// declare module "node-stream-zip";
// declare module "unzipper";
declare module "@flatten-js/polygon-offset" {
import { type Polygon } from "@flatten-js/core";
export default function offset(poly: Polygon, offset: number): Polygon;
}