-
Notifications
You must be signed in to change notification settings - Fork 159
/
typings.d.ts
42 lines (36 loc) · 992 Bytes
/
typings.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
// ==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;
}