diff --git a/cannon/cannon-tests.ts b/cannon/cannon-tests.ts new file mode 100644 index 0000000000..f68a96d811 --- /dev/null +++ b/cannon/cannon-tests.ts @@ -0,0 +1,6 @@ +import cannon = require("cannon"); + +var aabb = new cannon.AABB() + +aabb.setFromPoints(new cannon.Vec3(1,2,3)); + diff --git a/cannon/index.d.ts b/cannon/index.d.ts index 90493d5edd..ea8ae89e59 100644 --- a/cannon/index.d.ts +++ b/cannon/index.d.ts @@ -1,3 +1,8 @@ +// Type definitions for cannon +// Project: https://github.com/clark-stevenson/cannon.d.ts +// Definitions by: Clark Stevenson +// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped + declare module CANNON { export interface IAABBOptions { diff --git a/cannon/tsconfig.json b/cannon/tsconfig.json index 27e01ecd7b..3bc13b0278 100644 --- a/cannon/tsconfig.json +++ b/cannon/tsconfig.json @@ -6,7 +6,7 @@ ], "noImplicitAny": true, "noImplicitThis": true, - "strictNullChecks": false, + "strictNullChecks": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/cannon/tslint.json b/cannon/tslint.json new file mode 100644 index 0000000000..2221e40e4a --- /dev/null +++ b/cannon/tslint.json @@ -0,0 +1 @@ +{ "extends": "../tslint.json" } \ No newline at end of file diff --git a/rsvp/rsvp-tests.ts b/rsvp/rsvp-tests.ts new file mode 100644 index 0000000000..efb3cdbff6 --- /dev/null +++ b/rsvp/rsvp-tests.ts @@ -0,0 +1,4 @@ +var rsvp = require("rsvp"); + +var promise = new rsvp.Promise(function(resolve, rejector){ +}); diff --git a/rsvp/tsconfig.json b/rsvp/tsconfig.json index 27e01ecd7b..3bc13b0278 100644 --- a/rsvp/tsconfig.json +++ b/rsvp/tsconfig.json @@ -6,7 +6,7 @@ ], "noImplicitAny": true, "noImplicitThis": true, - "strictNullChecks": false, + "strictNullChecks": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/wonder-commonlib/index.d.ts b/wonder-commonlib/index.d.ts index 2fd8d2bd88..899def415f 100644 --- a/wonder-commonlib/index.d.ts +++ b/wonder-commonlib/index.d.ts @@ -1,3 +1,8 @@ +// Type definitions for wonder-commonlib v0.1.0 +// Project: https://github.com/yyc-git/Wonder-CommonLib +// Definitions by: YYC +// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped + declare module wdCb { class JudgeUtils { static isArray(arr: any): boolean; diff --git a/wonder-commonlib/tsconfig.json b/wonder-commonlib/tsconfig.json index 27e01ecd7b..3bc13b0278 100644 --- a/wonder-commonlib/tsconfig.json +++ b/wonder-commonlib/tsconfig.json @@ -6,7 +6,7 @@ ], "noImplicitAny": true, "noImplicitThis": true, - "strictNullChecks": false, + "strictNullChecks": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/wonder-commonlib/wonder-commonlib-tests.ts b/wonder-commonlib/wonder-commonlib-tests.ts new file mode 100644 index 0000000000..fb84bc3a5e --- /dev/null +++ b/wonder-commonlib/wonder-commonlib-tests.ts @@ -0,0 +1,7 @@ +var wdCb = require("wonder-commonlib"); + +var list = wdCb.Collection.create(); + +list.addChild(1); + + diff --git a/wonder-frp/index.d.ts b/wonder-frp/index.d.ts index 8f77f93723..cf7ca6fd78 100644 --- a/wonder-frp/index.d.ts +++ b/wonder-frp/index.d.ts @@ -1,3 +1,8 @@ +// Type definitions for wonder-frp v0.1.0 +// Project: https://github.com/yyc-git/Wonder-FRP +// Definitions by: YYC +// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped + declare module wdFrp { class JudgeUtils extends wdCb.JudgeUtils { static isPromise(obj: any): boolean; diff --git a/wonder-frp/tsconfig.json b/wonder-frp/tsconfig.json index 27e01ecd7b..3bc13b0278 100644 --- a/wonder-frp/tsconfig.json +++ b/wonder-frp/tsconfig.json @@ -6,7 +6,7 @@ ], "noImplicitAny": true, "noImplicitThis": true, - "strictNullChecks": false, + "strictNullChecks": true, "baseUrl": "../", "typeRoots": [ "../" diff --git a/wonder-frp/wonder-frp-tests.ts b/wonder-frp/wonder-frp-tests.ts new file mode 100644 index 0000000000..8bfebf55ba --- /dev/null +++ b/wonder-frp/wonder-frp-tests.ts @@ -0,0 +1,6 @@ +var wdFrp = require("wonder-frp"); + +wdFrp.fromArray([1,2,3]) + .subscribe(null,null,function(){ + console.log("completed"); + });