mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-04-07 22:38:13 +08:00
fixed test errors
This commit is contained in:
@@ -7,8 +7,8 @@ function test() {
|
||||
var p1: MakerJs.IPoint = [0, 0];
|
||||
var p2: MakerJs.IPoint = [1, 1];
|
||||
var paths = testPaths();
|
||||
var path: MakerJs.IPath = testPaths[0];
|
||||
var arc: MakerJs.IPathArc = testPaths[0];
|
||||
var path = <MakerJs.IPath>testPaths[0];
|
||||
var arc = <MakerJs.IPathArc>testPaths[0];
|
||||
var models = testModels();
|
||||
var model: MakerJs.IModel = models[0];
|
||||
|
||||
|
||||
2
maker.js/makerjs.d.ts
vendored
2
maker.js/makerjs.d.ts
vendored
@@ -1,3 +1,5 @@
|
||||
// Type definitions for Maker.js
|
||||
// https://github.com/Microsoft/maker.js
|
||||
/**
|
||||
* Root module for Maker.js.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user