Skip to content

Commit 6eeebd7

Browse files
committed
moved IModelPathCallback to root
1 parent f06219e commit 6eeebd7

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

src/core/maker.ts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -435,6 +435,13 @@ module MakerJs {
435435
layer?: string;
436436
}
437437

438+
/**
439+
* Callback signature for model.walkPaths().
440+
*/
441+
export interface IModelPathCallback {
442+
(modelContext: IModel, pathId: string, pathContext: IPath): void;
443+
}
444+
438445
/**
439446
* Test to see if an object implements the required properties of a model.
440447
*/

src/core/model.ts

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -219,13 +219,6 @@ module MakerJs.model {
219219
return modeltoConvert;
220220
}
221221

222-
/**
223-
* Callback signature for walkPaths.
224-
*/
225-
export interface IModelPathCallback {
226-
(modelContext: IModel, pathId: string, pathContext: IPath): void;
227-
}
228-
229222
/**
230223
* Recursively walk through all paths for a given model.
231224
*

0 commit comments

Comments
 (0)