chore(utils): cleanup

This commit is contained in:
moklick
2023-06-12 22:40:33 +02:00
parent d6b8439f6e
commit a04fb2021e
3 changed files with 11 additions and 11 deletions
+6 -1
View File
@@ -1,4 +1,4 @@
import { HandleType } from './types';
import { CoordinateExtent, HandleType } from './types';
// @todo: update URLs to xyflow
export const errorMessages = {
@@ -24,3 +24,8 @@ export const errorMessages = {
};
export const internalsSymbol = Symbol.for('internals');
export const infiniteExtent: CoordinateExtent = [
[Number.NEGATIVE_INFINITY, Number.NEGATIVE_INFINITY],
[Number.POSITIVE_INFINITY, Number.POSITIVE_INFINITY],
];