mirror of
https://codeberg.org/yeentown/barkey.git
synced 2025-07-07 12:36:57 +00:00
fix type errors involving use-note-capture.vue
This commit is contained in:
parent
1eb8ca1cfd
commit
a7179928bc
1 changed files with 2 additions and 2 deletions
|
@ -5,13 +5,13 @@
|
|||
|
||||
import { onUnmounted } from 'vue';
|
||||
import * as Misskey from 'misskey-js';
|
||||
import type { Ref, ShallowRef } from 'vue';
|
||||
import type { Ref } from 'vue';
|
||||
import { useStream } from '@/stream.js';
|
||||
import { $i } from '@/i.js';
|
||||
import { misskeyApi } from '@/utility/misskey-api.js';
|
||||
|
||||
export function useNoteCapture(props: {
|
||||
rootEl: ShallowRef<HTMLElement | undefined>;
|
||||
rootEl: Readonly<Ref<HTMLElement | null | undefined>>;
|
||||
note: Ref<Misskey.entities.Note>;
|
||||
pureNote?: Ref<Misskey.entities.Note>;
|
||||
isDeletedRef: Ref<boolean>;
|
||||
|
|
Loading…
Add table
Reference in a new issue