Skip to content

Commit

Permalink
Merge pull request DefinitelyTyped#8022 from DefinitelyTyped/switch-e…
Browse files Browse the repository at this point in the history
…s6-default

change default test environment. --target es6 is default!
  • Loading branch information
vvakame committed Feb 9, 2016
2 parents 72f0056 + 9027703 commit f4b1797
Show file tree
Hide file tree
Showing 98 changed files with 690 additions and 808 deletions.
4 changes: 1 addition & 3 deletions alt/alt-tests.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,8 @@
* Created by shearerbeard on 6/28/15.
*/
///<reference path="alt.d.ts"/>
///<reference path="../es6-promise/es6-promise.d.ts" />

import Alt = require("alt");
import Promise = require("es6-promise");

//New alt instance
var alt = new Alt();
Expand Down Expand Up @@ -74,7 +72,7 @@ var testSource:AltJS.Source = {
fakeLoad():AltJS.SourceModel<string> {
return {
remote() {
return new Promise.Promise<string>((res:any, rej:any) => {
return new Promise<string>((res:any, rej:any) => {
setTimeout(() => {
if(true) {
res("stuff");
Expand Down
1 change: 0 additions & 1 deletion alt/alt.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
// Definitions: https://github.com/borisyankov/DefinitelyTyped

///<reference path="../react/react.d.ts"/>
///<reference path="../es6-promise/es6-promise.d.ts" />

declare module AltJS {

Expand Down
2 changes: 0 additions & 2 deletions amazon-product-api/amazon-product-api.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@
// Definitions by: Matti Lehtinen <https://github.com/MattiLehtinen/>
// Definitions: https://github.com/borisyankov/DefinitelyTyped

/// <reference path="../es6-promise/es6-promise.d.ts"/>

declare module "amazon-product-api" {

interface ICredentials {
Expand Down
1 change: 0 additions & 1 deletion angularjs/angular-component-router.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
// Definitions: https://github.com/borisyankov/DefinitelyTyped

/// <reference path="./angular.d.ts" />
/// <reference path="../es6-promise/es6-promise.d.ts" />

declare module angular {
/**
Expand Down
8 changes: 2 additions & 6 deletions anydb-sql/anydb-sql.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,7 @@
// Definitions by: Gorgi Kosev <https://github.com/spion>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped

/// <reference path="../bluebird/bluebird.d.ts" />

declare module "anydb-sql" {
import Promise = require('bluebird');

interface AnyDBPool extends anydbSQL.DatabaseConnection {
query:(text:string, values:any[], callback:(err:Error, result:any)=>void)=>void
begin:()=>anydbSQL.Transaction
Expand Down Expand Up @@ -61,7 +57,7 @@ declare module "anydb-sql" {
getWithin(tx:DatabaseConnection):Promise<T>
exec():Promise<void>
all():Promise<T[]>
execWithin(tx:DatabaseConnection):Promise<void>
execWithin(tx:DatabaseConnection):Promise<void>
allWithin(tx:DatabaseConnection):Promise<T[]>
toQuery():QueryLike;
}
Expand Down Expand Up @@ -191,4 +187,4 @@ declare module "anydb-sql" {
function anydbSQL(config:Object):anydbSQL.AnydbSql;

export = anydbSQL;
}
}
1 change: 0 additions & 1 deletion atom/atom-tests.ts.tscparams

This file was deleted.

3 changes: 1 addition & 2 deletions baconjs/baconjs.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,7 @@
// Definitions: https://github.com/borisyankov/DefinitelyTyped

/// <reference path="../jquery/jquery.d.ts" />
/// <reference path="../node/node-0.11.d.ts" />
/// <reference path="../es6-promise/es6-promise.d.ts" />
/// <reference path="../node/node.d.ts" />

interface JQuery {
/**
Expand Down
2 changes: 0 additions & 2 deletions blissfuljs/blissfuljs.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@
// Definitions by: François Skorzec <https://github.com/fskorzec>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped

///<reference path="../es6-promise/es6-promise.d.ts"/>

interface Element {
_: BlissNS.BlissBindedElement<Element>;
}
Expand Down
1 change: 1 addition & 0 deletions bluebird/bluebird-1.0-tests.ts.tscparams
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
--target es5 --noImplicitAny
1 change: 1 addition & 0 deletions bluebird/bluebird-1.0.d.ts.tscparams
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
--target es5 --noImplicitAny
1 change: 0 additions & 1 deletion bookshelf/bookshelf-tests.ts.tscparams

This file was deleted.

Loading

0 comments on commit f4b1797

Please sign in to comment.