20 |
--------------------------------------------------------------------------------
/tsconfig.json:
--------------------------------------------------------------------------------
1 | {
2 | "compilerOptions": {
3 | "target": "ES5",
4 | "module": "system",
5 | "moduleResolution": "node",
6 | "sourceMap": true,
7 | "emitDecoratorMetadata": true,
8 | "experimentalDecorators": true,
9 | "removeComments": false,
10 | "noImplicitAny": false,
11 | "outDir": "./app"
12 | },
13 | "filesGlob": [
14 | "./dev/**/*.ts",
15 | "!./node_modules/**/*.ts"
16 | ],
17 | "exclude": [
18 | "node_modules",
19 | "typings/main",
20 | "typings/main.d.ts"
21 | ],
22 | "atom": {
23 | "rewriteTsconfig": true
24 | }
25 | }
--------------------------------------------------------------------------------
/typings.json:
--------------------------------------------------------------------------------
1 | {
2 | "ambientDependencies": {
3 | "es6-shim": "github:DefinitelyTyped/DefinitelyTyped/es6-shim/es6-shim.d.ts#6697d6f7dadbf5773cb40ecda35a76027e0783b2"
4 | }
5 | }
--------------------------------------------------------------------------------
/typings/browser.d.ts:
--------------------------------------------------------------------------------
1 | ///
2 |
--------------------------------------------------------------------------------
/typings/browser/ambient/es6-shim/es6-shim.d.ts:
--------------------------------------------------------------------------------
1 | // Compiled using typings@0.6.8
2 | // Source: https://raw.githubusercontent.com/DefinitelyTyped/DefinitelyTyped/6697d6f7dadbf5773cb40ecda35a76027e0783b2/es6-shim/es6-shim.d.ts
3 | // Type definitions for es6-shim v0.31.2
4 | // Project: https://github.com/paulmillr/es6-shim
5 | // Definitions by: Ron Buckton
6 | // Definitions: https://github.com/borisyankov/DefinitelyTyped
7 |
8 | declare type PropertyKey = string | number | symbol;
9 |
10 | interface IteratorResult {
11 | done: boolean;
12 | value?: T;
13 | }
14 |
15 | interface IterableShim {
16 | /**
17 | * Shim for an ES6 iterable. Not intended for direct use by user code.
18 | */
19 | "_es6-shim iterator_"(): Iterator;
20 | }
21 |
22 | interface Iterator {
23 | next(value?: any): IteratorResult;
24 | return?(value?: any): IteratorResult;
25 | throw?(e?: any): IteratorResult;
26 | }
27 |
28 | interface IterableIteratorShim extends IterableShim, Iterator {
29 | /**
30 | * Shim for an ES6 iterable iterator. Not intended for direct use by user code.
31 | */
32 | "_es6-shim iterator_"(): IterableIteratorShim;
33 | }
34 |
35 | interface StringConstructor {
36 | /**
37 | * Return the String value whose elements are, in order, the elements in the List elements.
38 | * If length is 0, the empty string is returned.
39 | */
40 | fromCodePoint(...codePoints: number[]): string;
41 |
42 | /**
43 | * String.raw is intended for use as a tag function of a Tagged Template String. When called
44 | * as such the first argument will be a well formed template call site object and the rest
45 | * parameter will contain the substitution values.
46 | * @param template A well-formed template string call site representation.
47 | * @param substitutions A set of substitution values.
48 | */
49 | raw(template: TemplateStringsArray, ...substitutions: any[]): string;
50 | }
51 |
52 | interface String {
53 | /**
54 | * Returns a nonnegative integer Number less than 1114112 (0x110000) that is the code point
55 | * value of the UTF-16 encoded code point starting at the string element at position pos in
56 | * the String resulting from converting this object to a String.
57 | * If there is no element at that position, the result is undefined.
58 | * If a valid UTF-16 surrogate pair does not begin at pos, the result is the code unit at pos.
59 | */
60 | codePointAt(pos: number): number;
61 |
62 | /**
63 | * Returns true if searchString appears as a substring of the result of converting this
64 | * object to a String, at one or more positions that are
65 | * greater than or equal to position; otherwise, returns false.
66 | * @param searchString search string
67 | * @param position If position is undefined, 0 is assumed, so as to search all of the String.
68 | */
69 | includes(searchString: string, position?: number): boolean;
70 |
71 | /**
72 | * Returns true if the sequence of elements of searchString converted to a String is the
73 | * same as the corresponding elements of this object (converted to a String) starting at
74 | * endPosition – length(this). Otherwise returns false.
75 | */
76 | endsWith(searchString: string, endPosition?: number): boolean;
77 |
78 | /**
79 | * Returns a String value that is made from count copies appended together. If count is 0,
80 | * T is the empty String is returned.
81 | * @param count number of copies to append
82 | */
83 | repeat(count: number): string;
84 |
85 | /**
86 | * Returns true if the sequence of elements of searchString converted to a String is the
87 | * same as the corresponding elements of this object (converted to a String) starting at
88 | * position. Otherwise returns false.
89 | */
90 | startsWith(searchString: string, position?: number): boolean;
91 |
92 | /**
93 | * Returns an HTML anchor element and sets the name attribute to the text value
94 | * @param name
95 | */
96 | anchor(name: string): string;
97 |
98 | /** Returns a HTML element */
99 | big(): string;
100 |
101 | /** Returns a