Skip to content

Commit

Permalink
fix(useRTDB)!: rename type RTDBOptions to UseRTDBOptions (#1901)
Browse files Browse the repository at this point in the history
  • Loading branch information
okxiaoliang4 committed Jul 13, 2022
1 parent d9dad87 commit 606cd26
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/firebase/useRTDB/index.ts
Expand Up @@ -3,7 +3,7 @@ import type { Ref } from 'vue-demi'
import { ref } from 'vue-demi'
import { tryOnScopeDispose } from '@vueuse/shared'

export interface RTDBOptions {
export interface UseRTDBOptions {
autoDispose?: boolean
}

Expand All @@ -15,7 +15,7 @@ export interface RTDBOptions {
*/
export function useRTDB<T = any>(
docRef: firebase.database.Reference,
options: RTDBOptions = {},
options: UseRTDBOptions = {},
) {
const {
autoDispose = true,
Expand Down

0 comments on commit 606cd26

Please sign in to comment.