Skip to content

Commit fba1306

Browse files
committed
fix(): failing ts test
1 parent 9cfa863 commit fba1306

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

test/intersect.spec.ts

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,12 @@
1-
import intersect from 'path-intersection';
2-
3-
import domify from 'domify';
1+
import intersect, { Path } from 'path-intersection';
42

53

64
describe('path-intersection', function() {
75

86
describe('api', function() {
97

10-
var p1 = [ [ 'M', 0, 0 ], [ 'L', 100, 100 ] ];
11-
var p2 = 'M0,100L100,0';
8+
const p1: Path = [ [ 'M', 0, 0 ], [ 'L', 100, 100 ] ];
9+
const p2: Path = 'M0,100L100,0';
1210

1311

1412
it('should support SVG path and component args', function() {

0 commit comments

Comments
 (0)