@@ -16,14 +16,14 @@ import {
1616import {
1717 add as collectionAdd ,
1818 remove as collectionRemove
19- } from '../util/Collections' ;
19+ } from '../util/Collections.js ' ;
2020
2121import {
2222 getType ,
2323 getBBox as getBoundingBox
24- } from '../util/Elements' ;
24+ } from '../util/Elements.js ' ;
2525
26- import { asTRBL } from '../layout/LayoutUtil' ;
26+ import { asTRBL } from '../layout/LayoutUtil.js ' ;
2727
2828import {
2929 append as svgAppend ,
@@ -38,10 +38,10 @@ import { createMatrix as createMatrix } from 'tiny-svg';
3838
3939
4040/**
41- * @typedef {import('./Types').ConnectionLike } ConnectionLike
42- * @typedef {import('./Types').RootLike } RootLike
43- * @typedef {import('./Types').ParentLike } ParentLike
44- * @typedef {import('./Types').ShapeLike } ShapeLike
41+ * @typedef {import('./Types.js ').ConnectionLike } ConnectionLike
42+ * @typedef {import('./Types.js ').RootLike } RootLike
43+ * @typedef {import('./Types.js ').ParentLike } ParentLike
44+ * @typedef {import('./Types.js ').ShapeLike } ShapeLike
4545 *
4646 * @typedef { {
4747 * container?: HTMLElement;
@@ -67,14 +67,14 @@ import { createMatrix as createMatrix } from 'tiny-svg';
6767 * outer: Dimensions;
6868 * } & Rect } CanvasViewbox
6969 *
70- * @typedef {import('./ElementRegistry').default } ElementRegistry
71- * @typedef {import('./EventBus').default } EventBus
72- * @typedef {import('./GraphicsFactory').default } GraphicsFactory
70+ * @typedef {import('./ElementRegistry.js ').default } ElementRegistry
71+ * @typedef {import('./EventBus.js ').default } EventBus
72+ * @typedef {import('./GraphicsFactory.js ').default } GraphicsFactory
7373 *
74- * @typedef {import('../util/Types').Dimensions } Dimensions
75- * @typedef {import('../util/Types').Point } Point
76- * @typedef {import('../util/Types').Rect } Rect
77- * @typedef {import('../util/Types').RectTRBL } RectTRBL
74+ * @typedef {import('../util/Types.js ').Dimensions } Dimensions
75+ * @typedef {import('../util/Types.js ').Point } Point
76+ * @typedef {import('../util/Types.js ').Rect } Rect
77+ * @typedef {import('../util/Types.js ').RectTRBL } RectTRBL
7878 */
7979
8080function round ( number , resolution ) {
0 commit comments