fix(core): check if dragEnd event is UseDrag or MouseTouch event #3600
Annotations
4 errors and 6 warnings
build-and-test (ubuntu-latest, 20)
Argument of type 'ResizeDragEvent' is not assignable to parameter of type 'MouseEvent | TouchEvent'.
|
build-and-test (ubuntu-latest, 20)
Argument of type 'ResizeDragEvent' is not assignable to parameter of type 'MouseEvent | TouchEvent'.
|
build-and-test (ubuntu-latest, 20)
@vue-flow/node-resizer#types: command (/home/runner/work/vue-flow/vue-flow/packages/node-resizer) /home/runner/setup-pnpm/node_modules/.bin/pnpm run types exited (2)
|
build-and-test (ubuntu-latest, 20)
Process completed with exit code 2.
|
build-and-test (ubuntu-latest, 20):
packages/core/src/composables/useEdgesData.ts#L18
@param "guard" does not match an existing function parameter
|
build-and-test (ubuntu-latest, 20):
packages/core/src/composables/useNodesData.ts#L18
@param "guard" does not match an existing function parameter
|
build-and-test (ubuntu-latest, 20):
packages/core/src/composables/useVueFlow.ts#L22
Expected @param names to be "id". Got "idOrOpts"
|
build-and-test (ubuntu-latest, 20):
packages/core/dist/composables/useEdgesData.d.ts#L14
@param "guard" does not match an existing function parameter
|
build-and-test (ubuntu-latest, 20):
packages/core/dist/composables/useNodesData.d.ts#L14
@param "guard" does not match an existing function parameter
|
build-and-test (ubuntu-latest, 20):
packages/core/dist/composables/useVueFlow.d.ts#L12
Expected @param names to be "id". Got "idOrOpts"
|