Skip to content

Commit 3cfc049

Browse files
committed
fixed test errors
1 parent d1d50b6 commit 3cfc049

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

maker.js/makerjs-tests.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ function test() {
77
var p1: MakerJs.IPoint = [0, 0];
88
var p2: MakerJs.IPoint = [1, 1];
99
var paths = testPaths();
10-
var path: MakerJs.IPath = testPaths[0];
11-
var arc: MakerJs.IPathArc = testPaths[0];
10+
var path = <MakerJs.IPath>testPaths[0];
11+
var arc = <MakerJs.IPathArc>testPaths[0];
1212
var models = testModels();
1313
var model: MakerJs.IModel = models[0];
1414

maker.js/makerjs.d.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// Type definitions for Maker.js
2+
// https://github.com/Microsoft/maker.js
13
/**
24
* Root module for Maker.js.
35
*

0 commit comments

Comments
 (0)