update(types): remove null types and use undefined

Signed-off-by: Braks <78412429+bcakmakoglu@users.noreply.github.com>
This commit is contained in:
Braks
2021-11-22 17:14:57 +01:00
parent fec38a129a
commit b9bb3cfb1a
9 changed files with 40 additions and 25 deletions
+4 -4
View File
@@ -9,10 +9,10 @@ export enum ConnectionLineType {
}
export interface Connection {
source: ElementId | null
target: ElementId | null
sourceHandle: ElementId | null
targetHandle: ElementId | null
source: ElementId
target: ElementId
sourceHandle: ElementId
targetHandle: ElementId
}
export type ConnectionLineProps = {