Skip to content

Commit 83e9d0a

Browse files
committed
added new custom typings
app, services, vendor libs, systemjs
1 parent 987c643 commit 83e9d0a

File tree

4 files changed

+32
-6
lines changed

4 files changed

+32
-6
lines changed

src/typings/app.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
interface FluxStandardAction<Payload> {
2+
type?: string;
3+
payload?: Payload;
4+
error?: boolean;
5+
meta?: any;
6+
}

src/typings/fixer-service.d.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
interface IFixerServiceResponse {
2+
base: string;
3+
date: string;
4+
rates: Object;
5+
}
Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// System Global
1+
// SystemJS
22
type System = { global: Global, production: boolean };
33
type Global = {};
44
declare const System: System;
@@ -8,8 +8,3 @@ declare module '*!json' {
88
const def: any;
99
export default def;
1010
}
11-
12-
declare module 'es6-promise' {
13-
const def: any;
14-
export default def;
15-
}

src/typings/vendor.d.ts

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
// Vendor libs
2+
declare module 'money' {
3+
const lib: any;
4+
export default lib;
5+
}
6+
7+
declare module 'accounting' {
8+
const lib: any;
9+
export default lib;
10+
}
11+
12+
declare module 'csjs' {
13+
const lib: any;
14+
export default lib;
15+
}
16+
17+
declare module 'insert-css' {
18+
const lib: any;
19+
export default lib;
20+
}

0 commit comments

Comments
 (0)