chore(core): remove any typecast

Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com>
This commit is contained in:
braks
2022-12-18 21:15:30 +01:00
committed by Braks
parent 08dc3ad5a8
commit 0167a6d766

View File

@@ -369,6 +369,6 @@ export const getMarkerId = (marker: EdgeMarkerType | undefined, vueFlowId?: stri
return `${idPrefix}${Object.keys(marker)
.sort()
.map((key: string) => `${key}=${(marker as any)[key]}`)
.map((key: string) => `${key}=${marker[<keyof EdgeMarkerType>key]}`)
.join('&')}`
}