Skip to content
This repository has been archived by the owner on Sep 9, 2021. It is now read-only.

Commit

Permalink
fix: remove types versions and tweak orders
Browse files Browse the repository at this point in the history
  • Loading branch information
hugomrdias committed Jan 12, 2021
1 parent eab84b0 commit e449528
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 9 deletions.
8 changes: 0 additions & 8 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,6 @@
"leadMaintainer": "Alex Potsides <alex.potsides@protocol.ai>",
"main": "src/index.js",
"types": "dist/src/index.d.ts",
"typesVersions": {
"*": {
"src/*": [
"dist/src/*",
"dist/src/*/index"
]
}
},
"files": [
"src",
"dist"
Expand Down
2 changes: 1 addition & 1 deletion src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ export interface Datastore {
export interface Query {
prefix?: string
filters?: Array<(item: Pair) => boolean>
orders?: Array<(items: Pair[]) => Pair[]>
orders?: Array<(items: Pair[]) => Await<Pair[]>>
limit?: number
offset?: number
keysOnly?: boolean
Expand Down

0 comments on commit e449528

Please sign in to comment.