Skip to content

Commit

Permalink
IDbObjectStore.deleteIndex needs to take the index name
Browse files Browse the repository at this point in the history
  • Loading branch information
kentcb committed Dec 15, 2023
1 parent c0ba7be commit ab77a4f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/IndexedDB/Browser.IndexedDB.fs
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ type [<AllowNullLiteral; Global>] IDBObjectStore =
abstract count: ?query: IDBKeyRange -> IDBRequest
abstract createIndex: indexName: string * keyPath: string * ?options: IDBCreateIndexOptions -> IDBRequest
abstract delete: key: obj -> IDBRequest
abstract deleteIndex: unit -> IDBRequest
abstract deleteIndex: string -> IDBRequest
abstract get: key: obj -> IDBRequest
abstract getKey: key: obj -> IDBRequest
abstract getAll: ?query: IDBKeyRange * ?count: int -> IDBRequest
Expand Down

1 comment on commit ab77a4f

@robitar
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like there's another issue with that binding, it actually returns undefined, and not a request, I'll open a PR for that.

Please sign in to comment.