diff --git a/src/BubbleSetPath.ts b/src/BubbleSetPath.ts index 32f55f9..29006da 100644 --- a/src/BubbleSetPath.ts +++ b/src/BubbleSetPath.ts @@ -1,6 +1,6 @@ import type cy from 'cytoscape'; import { - IOutlineOptions, + type IOutlineOptions, Area, createLineInfluenceArea, createGenericInfluenceArea, @@ -8,12 +8,12 @@ import { Rectangle, Circle, calculatePotentialOutline, - IRectangle, - IPotentialOptions, + type IRectangle, + type IPotentialOptions, defaultOptions, calculateVirtualEdges, - IRoutingOptions, - ILine, + type IRoutingOptions, + type ILine, Line, } from 'bubblesets-js'; import throttle from 'lodash.throttle'; diff --git a/src/BubbleSetsPlugin.ts b/src/BubbleSetsPlugin.ts index 79ad626..69eac6c 100644 --- a/src/BubbleSetsPlugin.ts +++ b/src/BubbleSetsPlugin.ts @@ -1,6 +1,6 @@ import type cy from 'cytoscape'; -import { layers, ISVGLayer } from 'cytoscape-layers'; -import BubbleSetPath, { IBubbleSetPathOptions } from './BubbleSetPath'; +import { layers, type ISVGLayer } from 'cytoscape-layers'; +import BubbleSetPath, { type IBubbleSetPathOptions } from './BubbleSetPath'; export interface IBubbleSetsPluginOptions extends IBubbleSetPathOptions { layer?: ISVGLayer; diff --git a/tsconfig.json b/tsconfig.json index c415fb5..2dda069 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -8,7 +8,7 @@ "sourceMap": true, "strict": true, "removeComments": true, - "importsNotUsedAsValues": "error", + "verbatimModuleSyntax": true, "experimentalDecorators": true, "forceConsistentCasingInFileNames": true, "strictBindCallApply": true,