-
-
Notifications
You must be signed in to change notification settings - Fork 4
Open
Labels
pull request welcomeA pull request is welcomeA pull request is welcome
Description
Argument of type 'Level<string, string>' is not assignable to parameter of type 'AbstractLevel<Buffer, any, any>' with 'exactOptionalPropertyTypes: true'. Consider adding 'undefined' to the types of the target's properties.
Types of property 'batch' are incompatible.
Type '{ (operations: (AbstractBatchPutOperation<Level<string, string>, string, string> | AbstractBatchDelOperation<Level<string, string>, string>)[]): Promise<...>; (operations: (AbstractBatchPutOperation<...> | AbstractBatchDelOperation<...>)[], callback: NodeCallback<...>): void; <K = string, V = string>(operations: (Ab...' is not assignable to type '{ (operations: AbstractBatchOperation<AbstractLevel<Buffer, any, any>, any, any>[]): Promise<void>; (operations: AbstractBatchOperation<AbstractLevel<Buffer, any, any>, any, any>[], callback: NodeCallback<...>): void; <K = any, V = any>(operations: AbstractBatchOperation<...>[], options: AbstractBatchOptions<...>): ...'.
Types of parameters 'operations' and 'operations' are incompatible.
Type 'AbstractBatchOperation<AbstractLevel<Buffer, any, any>, any, any>[]' is not assignable to type '(AbstractBatchPutOperation<Level<string, string>, string, string> | AbstractBatchDelOperation<Level<string, string>, string>)[]'.
Type 'AbstractBatchOperation<AbstractLevel<Buffer, any, any>, any, any>' is not assignable to type 'AbstractBatchPutOperation<Level<string, string>, string, string> | AbstractBatchDelOperation<Level<string, string>, string>'.
Type 'AbstractBatchPutOperation<AbstractLevel<Buffer, any, any>, any, any>' is not assignable to type 'AbstractBatchPutOperation<Level<string, string>, string, string> | AbstractBatchDelOperation<Level<string, string>, string>'.
Type 'AbstractBatchPutOperation<AbstractLevel<Buffer, any, any>, any, any>' is not assignable to type 'AbstractBatchPutOperation<Level<string, string>, string, string>'.
Types of property 'sublevel' are incompatible.
Type 'AbstractSublevel<AbstractLevel<Buffer, any, any>, any, any, any> | undefined' is not assignable to type 'AbstractSublevel<Level<string, string>, any, any, any> | undefined'.
Type 'AbstractSublevel<AbstractLevel<Buffer, any, any>, any, any, any>' is not assignable to type 'AbstractSublevel<Level<string, string>, any, any, any>' with 'exactOptionalPropertyTypes: true'. Consider adding 'undefined' to the types of the target's properties.
Types of property 'db' are incompatible.
Type 'AbstractLevel<Buffer, any, any>' is not assignable to type 'Level<string, string>' with 'exactOptionalPropertyTypes: true'. Consider adding 'undefined' to the types of the target's properties.ts(2379)
Metadata
Metadata
Assignees
Labels
pull request welcomeA pull request is welcomeA pull request is welcome