fix: fix ts #407
Annotations
30 errors and 1 warning
build
Property 'annotations' does not exist on type 'Omit<Omit<Omit<Omit<{ context: Context; spine: Spine; hookManager: HookManager<CoreHook>; cfi: { generateCfiFromRange: (range: Range, item: { ...; }) => { ...; }; generateCfiFromSelection: ({ item, selection, }: { ...; }) => { ...; }; parseCfi: (cfi: string) => { ...; }; generateCfiForSpineItemPage: (params: { ...; ...'.
|
build
No overload matches this call.
|
build
Type '{}' has no matching index signature for type 'number'.
|
build
Property 'map' does not exist on type '{}'.
|
build
Parameter 'item' implicitly has an 'any' type.
|
build
Parameter 'index' implicitly has an 'any' type.
|
build
Property 'bookmarks' does not exist on type 'Omit<Omit<Omit<Omit<{ context: Context; spine: Spine; hookManager: HookManager<CoreHook>; cfi: { generateCfiFromRange: (range: Range, item: { ...; }) => { ...; }; generateCfiFromSelection: ({ item, selection, }: { ...; }) => { ...; }; parseCfi: (cfi: string) => { ...; }; generateCfiForSpineItemPage: (params: { ...; ...'.
|
build
Property 'bookmarks' does not exist on type 'Omit<Omit<Omit<Omit<{ context: Context; spine: Spine; hookManager: HookManager<CoreHook>; cfi: { generateCfiFromRange: (range: Range, item: { ...; }) => { ...; }; generateCfiFromSelection: ({ item, selection, }: { ...; }) => { ...; }; parseCfi: (cfi: string) => { ...; }; generateCfiForSpineItemPage: (params: { ...; ...'.
|
build
No overload matches this call.
|
build
Property 'map' does not exist on type '{}'.
|
ts / ts
Property 'annotations' does not exist on type 'Omit<Omit<Omit<Omit<{ context: Context; spine: Spine; hookManager: HookManager<CoreHook>; cfi: { generateCfiFromRange: (range: Range, item: { ...; }) => { ...; }; generateCfiFromSelection: ({ item, selection, }: { ...; }) => { ...; }; parseCfi: (cfi: string) => { ...; }; generateCfiForSpineItemPage: (params: { ...; ...'.
|
ts / ts
No overload matches this call.
|
ts / ts
Type '{}' has no matching index signature for type 'number'.
|
ts / ts
Property 'map' does not exist on type '{}'.
|
ts / ts
Parameter 'item' implicitly has an 'any' type.
|
ts / ts
Parameter 'index' implicitly has an 'any' type.
|
ts / ts
Property 'bookmarks' does not exist on type 'Omit<Omit<Omit<Omit<{ context: Context; spine: Spine; hookManager: HookManager<CoreHook>; cfi: { generateCfiFromRange: (range: Range, item: { ...; }) => { ...; }; generateCfiFromSelection: ({ item, selection, }: { ...; }) => { ...; }; parseCfi: (cfi: string) => { ...; }; generateCfiForSpineItemPage: (params: { ...; ...'.
|
ts / ts
Property 'bookmarks' does not exist on type 'Omit<Omit<Omit<Omit<{ context: Context; spine: Spine; hookManager: HookManager<CoreHook>; cfi: { generateCfiFromRange: (range: Range, item: { ...; }) => { ...; }; generateCfiFromSelection: ({ item, selection, }: { ...; }) => { ...; }; parseCfi: (cfi: string) => { ...; }; generateCfiForSpineItemPage: (params: { ...; ...'.
|
ts / ts
No overload matches this call.
|
ts / ts
Property 'map' does not exist on type '{}'.
|
tests / test
Property 'annotations' does not exist on type 'Omit<Omit<Omit<Omit<{ context: Context; spine: Spine; hookManager: HookManager<CoreHook>; cfi: { generateCfiFromRange: (range: Range, item: { ...; }) => { ...; }; generateCfiFromSelection: ({ item, selection, }: { ...; }) => { ...; }; parseCfi: (cfi: string) => { ...; }; generateCfiForSpineItemPage: (params: { ...; ...'.
|
tests / test
No overload matches this call.
|
tests / test
Type '{}' has no matching index signature for type 'number'.
|
tests / test
Property 'map' does not exist on type '{}'.
|
tests / test
Parameter 'item' implicitly has an 'any' type.
|
tests / test
Parameter 'index' implicitly has an 'any' type.
|
tests / test
Property 'bookmarks' does not exist on type 'Omit<Omit<Omit<Omit<{ context: Context; spine: Spine; hookManager: HookManager<CoreHook>; cfi: { generateCfiFromRange: (range: Range, item: { ...; }) => { ...; }; generateCfiFromSelection: ({ item, selection, }: { ...; }) => { ...; }; parseCfi: (cfi: string) => { ...; }; generateCfiForSpineItemPage: (params: { ...; ...'.
|
tests / test
Property 'bookmarks' does not exist on type 'Omit<Omit<Omit<Omit<{ context: Context; spine: Spine; hookManager: HookManager<CoreHook>; cfi: { generateCfiFromRange: (range: Range, item: { ...; }) => { ...; }; generateCfiFromSelection: ({ item, selection, }: { ...; }) => { ...; }; parseCfi: (cfi: string) => { ...; }; generateCfiForSpineItemPage: (params: { ...; ...'.
|
tests / test
No overload matches this call.
|
tests / test
Property 'map' does not exist on type '{}'.
|
tests / test
No files were found with the provided path: packages/tests/test-results/. No artifacts will be uploaded.
|