Skip to content

Commit 76a4c17

Browse files
committed
Fix the build
1 parent 23b9d38 commit 76a4c17

2 files changed

Lines changed: 2 additions & 3 deletions

File tree

src/__tests__/interpreter.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ import { GCodeCommand } from '../gcode-parser';
33
import { Interpreter } from '../interpreter';
44
import { Job } from '../job';
55
import { PathType } from '../path';
6-
import { Path, PathType } from '../path';
76

87
test('.execute returns a stateful job', () => {
98
const command = new GCodeCommand('G0 X1 Y2 Z3', 'g0', { x: 1, y: 2, z: 3 });

src/job.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ class Indexer {
9696
}
9797

9898
class TravelTypeIndexer extends Indexer {
99-
protected indexes: Record<string, Path[]>;
99+
protected declare indexes: Record<string, Path[]>;
100100
constructor(indexes: Record<string, Path[]>) {
101101
super(indexes);
102102
}
@@ -116,7 +116,7 @@ class NonPlanarPathError extends NonApplicableIndexer {
116116
}
117117
}
118118
class LayersIndexer extends Indexer {
119-
protected indexes: Path[][];
119+
protected declare indexes: Path[][];
120120
constructor(indexes: Path[][]) {
121121
super(indexes);
122122
}

0 commit comments

Comments
 (0)