Skip to content

Commit 9027703

Browse files
committed
pass npm run all in new definition-tester
1 parent c6c87d3 commit 9027703

96 files changed

Lines changed: 681 additions & 799 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

alt/alt-tests.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,8 @@
22
* Created by shearerbeard on 6/28/15.
33
*/
44
///<reference path="alt.d.ts"/>
5-
///<reference path="../es6-promise/es6-promise.d.ts" />
65

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

108
//New alt instance
119
var alt = new Alt();
@@ -74,7 +72,7 @@ var testSource:AltJS.Source = {
7472
fakeLoad():AltJS.SourceModel<string> {
7573
return {
7674
remote() {
77-
return new Promise.Promise<string>((res:any, rej:any) => {
75+
return new Promise<string>((res:any, rej:any) => {
7876
setTimeout(() => {
7977
if(true) {
8078
res("stuff");

alt/alt.d.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
// Definitions: https://github.com/borisyankov/DefinitelyTyped
55

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

98
declare module AltJS {
109

amazon-product-api/amazon-product-api.d.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,6 @@
33
// Definitions by: Matti Lehtinen <https://github.com/MattiLehtinen/>
44
// Definitions: https://github.com/borisyankov/DefinitelyTyped
55

6-
/// <reference path="../es6-promise/es6-promise.d.ts"/>
7-
86
declare module "amazon-product-api" {
97

108
interface ICredentials {

angularjs/angular-component-router.d.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
// Definitions: https://github.com/borisyankov/DefinitelyTyped
55

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

98
declare module angular {
109
/**

anydb-sql/anydb-sql.d.ts

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,7 @@
33
// Definitions by: Gorgi Kosev <https://github.com/spion>
44
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
55

6-
/// <reference path="../bluebird/bluebird.d.ts" />
7-
86
declare module "anydb-sql" {
9-
import Promise = require('bluebird');
10-
117
interface AnyDBPool extends anydbSQL.DatabaseConnection {
128
query:(text:string, values:any[], callback:(err:Error, result:any)=>void)=>void
139
begin:()=>anydbSQL.Transaction
@@ -61,7 +57,7 @@ declare module "anydb-sql" {
6157
getWithin(tx:DatabaseConnection):Promise<T>
6258
exec():Promise<void>
6359
all():Promise<T[]>
64-
execWithin(tx:DatabaseConnection):Promise<void>
60+
execWithin(tx:DatabaseConnection):Promise<void>
6561
allWithin(tx:DatabaseConnection):Promise<T[]>
6662
toQuery():QueryLike;
6763
}
@@ -191,4 +187,4 @@ declare module "anydb-sql" {
191187
function anydbSQL(config:Object):anydbSQL.AnydbSql;
192188

193189
export = anydbSQL;
194-
}
190+
}

atom/atom-tests.ts.tscparams

Lines changed: 0 additions & 1 deletion
This file was deleted.

baconjs/baconjs.d.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,7 @@
44
// Definitions: https://github.com/borisyankov/DefinitelyTyped
55

66
/// <reference path="../jquery/jquery.d.ts" />
7-
/// <reference path="../node/node-0.11.d.ts" />
8-
/// <reference path="../es6-promise/es6-promise.d.ts" />
7+
/// <reference path="../node/node.d.ts" />
98

109
interface JQuery {
1110
/**

blissfuljs/blissfuljs.d.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,6 @@
33
// Definitions by: François Skorzec <https://github.com/fskorzec>
44
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
55

6-
///<reference path="../es6-promise/es6-promise.d.ts"/>
7-
86
interface Element {
97
_: BlissNS.BlissBindedElement<Element>;
108
}
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
--target es5 --noImplicitAny
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
--target es5 --noImplicitAny

0 commit comments

Comments
 (0)