refactor(types)!: Remove ElementId type

Signed-off-by: Braks <78412429+bcakmakoglu@users.noreply.github.com>
This commit is contained in:
Braks
2021-12-20 19:29:52 +01:00
parent fe0eeaeae9
commit f00f34d84b
28 changed files with 99 additions and 150 deletions
+2 -2
View File
@@ -1,4 +1,4 @@
import { ElementId, Elements, Position } from '../../src'
import { Elements, Position } from '../../src'
const nodeWidth = 80
const nodeGapWidth = nodeWidth * 2
@@ -49,7 +49,7 @@ const offsets = [
]
let id = 0
const getNodeId = (): ElementId => (id++).toString()
const getNodeId = () => (id++).toString()
export function getElements(): Elements {
const initialElements = []