fix: remove typescript references to d.ts files from benchpress and e2e tests
using "/// <reference" is incorrect because it makes our code non-portable. The correct solution is to provide these typings as ambient typings as an additional entry point - which we already do. Closes #8050
This commit is contained in:
parent
3412aba46e
commit
0e56aaf189
|
@ -1,5 +1,3 @@
|
|||
/// <reference path="../angular2/typings/node/node.d.ts" />
|
||||
|
||||
import {bind, provide} from 'angular2/src/core/di';
|
||||
import {Options} from './common';
|
||||
|
||||
|
|
|
@ -1,5 +1,3 @@
|
|||
/// <reference path="../../../../angular2/typings/node/node.d.ts" />
|
||||
|
||||
var {Cc, Ci, Cu} = require('chrome');
|
||||
var os = Cc['@mozilla.org/observer-service;1'].getService(Ci.nsIObserverService);
|
||||
var ParserUtil = require('./parser_util');
|
||||
|
|
|
@ -1,5 +1,3 @@
|
|||
/// <reference path="../../../../angular2/typings/node/node.d.ts" />
|
||||
|
||||
/**
|
||||
* @param {Object} perfProfile The perf profile JSON object.
|
||||
* @return {Object[]} An array of recognized events that are captured
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
/// <reference path="../../../angular2/typings/node/node.d.ts" />
|
||||
require('es6-shim/es6-shim.js');
|
||||
require('reflect-metadata');
|
||||
var testHelper = require('../../src/firefox_extension/lib/test_helper.js');
|
||||
|
|
|
@ -1,7 +1,3 @@
|
|||
/// <reference path="../../../angular2/typings/node/node.d.ts" />
|
||||
/// <reference path="../../../angular2/typings/angular-protractor/angular-protractor.d.ts" />
|
||||
/// <reference path="../../../angular2/typings/jasmine/jasmine.d.ts" />
|
||||
|
||||
var assertEventsContainsName = function(events, eventName) {
|
||||
var found = false;
|
||||
for (var i = 0; i < events.length; ++i) {
|
||||
|
|
|
@ -1,5 +1,3 @@
|
|||
/// <reference path="../../../angular2/typings/jasmine/jasmine.d.ts" />
|
||||
|
||||
import {verifyNoBrowserErrors} from 'angular2/src/testing/e2e_util';
|
||||
|
||||
describe('http', function() {
|
||||
|
|
|
@ -1,5 +1,3 @@
|
|||
/// <reference path="../../../angular2/typings/jasmine/jasmine.d.ts" />
|
||||
|
||||
import {verifyNoBrowserErrors} from 'angular2/src/testing/e2e_util';
|
||||
|
||||
describe('jsonp', function() {
|
||||
|
|
Loading…
Reference in New Issue