[Feature] Refactor services configuration #1702
Annotations
15 errors
build:
packages/js-toolkit/services/DragService.ts#L127
Conversion of type 'AbstractService<any>' to type 'DragService' may be a mistake because neither type sufficiently overlaps with the other. If this was intentional, convert the expression to 'unknown' first.
|
build:
packages/js-toolkit/services/DragService.ts#L292
Property 'handleEvent' in type 'DragService' is not assignable to the same property in base type 'AbstractService<DragServiceProps>'.
|
build:
packages/js-toolkit/services/KeyService.ts#L72
Property 'handleEvent' in type 'KeyService' is not assignable to the same property in base type 'AbstractService<KeyServiceProps>'.
|
build:
packages/js-toolkit/services/PointerService.ts#L147
Property 'handleEvent' in type 'PointerService' is not assignable to the same property in base type 'AbstractService<PointerServiceProps>'.
|
build
Process completed with exit code 1.
|
code-quality:
packages/js-toolkit/services/DragService.ts#L127
Conversion of type 'AbstractService<any>' to type 'DragService' may be a mistake because neither type sufficiently overlaps with the other. If this was intentional, convert the expression to 'unknown' first.
|
code-quality:
packages/js-toolkit/services/DragService.ts#L292
Property 'handleEvent' in type 'DragService' is not assignable to the same property in base type 'AbstractService<DragServiceProps>'.
|
code-quality:
packages/js-toolkit/services/KeyService.ts#L72
Property 'handleEvent' in type 'KeyService' is not assignable to the same property in base type 'AbstractService<KeyServiceProps>'.
|
code-quality:
packages/js-toolkit/services/PointerService.ts#L147
Property 'handleEvent' in type 'PointerService' is not assignable to the same property in base type 'AbstractService<PointerServiceProps>'.
|
code-quality
Process completed with exit code 1.
|
tests/services/AbstractService.spec.ts > The `Service` class > should init and kill itself when adding or removing a callback:
packages/tests/services/AbstractService.spec.ts#L43
AssertionError: expected undefined to be true // Object.is equality
- Expected:
true
+ Received:
undefined
❯ tests/services/AbstractService.spec.ts:43:28
|
tests/services/AbstractService.spec.ts > The `Service` class > should init and kill itself when adding or removing a callback:
packages/tests/services/AbstractService.spec.ts#L43
AssertionError: expected undefined to be true // Object.is equality
- Expected:
true
+ Received:
undefined
❯ tests/services/AbstractService.spec.ts:43:28
|
tests/services/AbstractService.spec.ts > The `Service` class > should init and kill itself when adding or removing a callback:
packages/tests/services/AbstractService.spec.ts#L43
AssertionError: expected undefined to be true // Object.is equality
- Expected:
true
+ Received:
undefined
❯ tests/services/AbstractService.spec.ts:43:28
|
tests/services/AbstractService.spec.ts > The `Service` class > should init and kill itself when adding or removing a callback:
packages/tests/services/AbstractService.spec.ts#L43
AssertionError: expected undefined to be true // Object.is equality
- Expected:
true
+ Received:
undefined
❯ tests/services/AbstractService.spec.ts:43:28
|
unit
Process completed with exit code 1.
|