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:
Igor Minar 2016-04-13 12:44:16 -07:00 committed by Robert Messerle
parent 3412aba46e
commit 0e56aaf189
7 changed files with 0 additions and 15 deletions

View File

@ -1,5 +1,3 @@
/// <reference path="../angular2/typings/node/node.d.ts" />
import {bind, provide} from 'angular2/src/core/di';
import {Options} from './common';

View File

@ -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');

View File

@ -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

View File

@ -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');

View File

@ -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) {

View File

@ -1,5 +1,3 @@
/// <reference path="../../../angular2/typings/jasmine/jasmine.d.ts" />
import {verifyNoBrowserErrors} from 'angular2/src/testing/e2e_util';
describe('http', function() {

View File

@ -1,5 +1,3 @@
/// <reference path="../../../angular2/typings/jasmine/jasmine.d.ts" />
import {verifyNoBrowserErrors} from 'angular2/src/testing/e2e_util';
describe('jsonp', function() {