aboutsummaryrefslogtreecommitdiffstats
path: root/packages/website/ts/globals.d.ts
blob: 9a029397fc5f8e83563b0555dab5c3abba1d6056 (plain) (blame)
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
declare module 'truffle-contract';
declare module 'whatwg-fetch';
declare module 'thenby';
declare module 'react-document-title';
declare module 'react-ga';
declare module 'reach__dialog';
declare module 'react-flickity-component';
declare module 'react-anchor-link-smooth-scroll';
declare module 'react-responsive';
declare module 'react-scrollable-anchor';
declare module 'react-headroom';

declare module '*.json' {
    const json: any;
    /* tslint:disable */
    export default json;
    /* tslint:enable */
}

declare module '*.svg' {
    //const svg: any;
    //export default svg;
    import { PureComponent, SVGProps } from 'react';
    export default class extends PureComponent<SVGProps<SVGSVGElement>> {}
}

declare module 'web3-provider-engine/subproviders/filters';

// This will be defined by default in TS 2.4
// Source: https://github.com/Microsoft/TypeScript/issues/12364
interface System {
    import<T>(module: string): Promise<T>;
}
declare var System: System;