fix(Global && src/facade && Protractor): Allows List to be imported.
Allows the List type to be imported from 'angular2/src/facade/collection'
This commit is contained in:
parent
9e36539052
commit
1d24e2cf23
2
modules/angular2/globals.d.ts
vendored
2
modules/angular2/globals.d.ts
vendored
@ -3,7 +3,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
/// <reference path="typings/zone/zone.d.ts"/>
|
/// <reference path="typings/zone/zone.d.ts"/>
|
||||||
|
/// <reference path="traceur-runtime.d.ts" />
|
||||||
declare var assert: any;
|
declare var assert: any;
|
||||||
declare type int = number;
|
declare type int = number;
|
||||||
|
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
/// <reference path="../../globals.d.ts" />
|
||||||
var _global: BrowserNodeGlobal = <any>(typeof window === 'undefined' ? global : window);
|
var _global: BrowserNodeGlobal = <any>(typeof window === 'undefined' ? global : window);
|
||||||
export {_global as global};
|
export {_global as global};
|
||||||
|
|
||||||
|
@ -1,5 +1,6 @@
|
|||||||
// load traceur runtime as our tests are written in es6
|
// load traceur runtime as our tests are written in es6
|
||||||
require('traceur/bin/traceur-runtime.js');
|
require('traceur/bin/traceur-runtime.js');
|
||||||
|
require('reflect-metadata');
|
||||||
var fs = require('fs-extra');
|
var fs = require('fs-extra');
|
||||||
|
|
||||||
var argv = require('yargs')
|
var argv = require('yargs')
|
||||||
@ -250,4 +251,4 @@ function mergeInto(src, target) {
|
|||||||
target[prop] = src[prop];
|
target[prop] = src[prop];
|
||||||
}
|
}
|
||||||
return target;
|
return target;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user