mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-08-12 13:00:19 +00:00
fix
This commit is contained in:
@@ -2,5 +2,5 @@ import cannon = require("cannon");
|
||||
|
||||
var aabb = new cannon.AABB()
|
||||
|
||||
aabb.setFromPoints(new cannon.Vec3(1,2,3));
|
||||
aabb.setFromPoints([new cannon.Vec3(1,2,3)]);
|
||||
|
||||
|
||||
@@ -2,7 +2,8 @@
|
||||
"compilerOptions": {
|
||||
"module": "commonjs",
|
||||
"lib": [
|
||||
"es6"
|
||||
"es6",
|
||||
"dom"
|
||||
],
|
||||
"noImplicitAny": true,
|
||||
"noImplicitThis": true,
|
||||
|
||||
Vendored
+3
-1
@@ -3,6 +3,8 @@
|
||||
// Definitions by: YYC <https://github.com/yyc-git>
|
||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
||||
|
||||
/// <reference types="wonder-commonlib" />
|
||||
|
||||
declare module wdFrp {
|
||||
class JudgeUtils extends wdCb.JudgeUtils {
|
||||
static isPromise(obj: any): boolean;
|
||||
@@ -101,7 +103,7 @@ declare module wdFrp {
|
||||
}
|
||||
}
|
||||
|
||||
declare var global: any, window: Window;
|
||||
declare var global: any, window: any;
|
||||
declare module wdFrp {
|
||||
var root: any;
|
||||
}
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
import wdFrp = require("wonder-frp");
|
||||
|
||||
wdFrp.fromArray([1,2,3])
|
||||
.subscribe(null,null,function(){
|
||||
console.log("completed");
|
||||
.subscribe(function(){
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user