- Added VueIdb plugins: $db.mytable.add({myelem:'value'}) to insert a record, and $db.mytable.toArray() to receive the array.
This commit is contained in:
7
src/typings/libs/vue-idb.d.ts
vendored
Normal file
7
src/typings/libs/vue-idb.d.ts
vendored
Normal file
@@ -0,0 +1,7 @@
|
||||
import { VueIdb } from 'vue-idb'
|
||||
|
||||
declare module 'vue/types/vue' {
|
||||
interface Vue {
|
||||
$db: VueIdb
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user