summaryrefslogtreecommitdiff
path: root/packages/idb-bridge/src/util/canInjectKey.ts
diff options
context:
space:
mode:
Diffstat (limited to 'packages/idb-bridge/src/util/canInjectKey.ts')
-rw-r--r--packages/idb-bridge/src/util/canInjectKey.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/idb-bridge/src/util/canInjectKey.ts b/packages/idb-bridge/src/util/canInjectKey.ts
index 8a9666901..09ecbd3ad 100644
--- a/packages/idb-bridge/src/util/canInjectKey.ts
+++ b/packages/idb-bridge/src/util/canInjectKey.ts
@@ -14,10 +14,10 @@
permissions and limitations under the License.
*/
-import { KeyPath, Value } from "./types";
+import { IDBKeyPath } from "../idbtypes";
// http://w3c.github.io/IndexedDB/#check-that-a-key-could-be-injected-into-a-value
-const canInjectKey = (keyPath: KeyPath, value: Value) => {
+const canInjectKey = (keyPath: IDBKeyPath, value: any) => {
if (Array.isArray(keyPath)) {
// tslint:disable-next-line max-line-length
throw new Error(