refactor(frontend): reduce type errors

This commit is contained in:
syuilo 2024-01-05 15:25:26 +09:00
parent 2177792a3c
commit 7768385be2
6 changed files with 26 additions and 9 deletions

View file

@ -35,9 +35,10 @@ import * as os from '@/os.js';
import { misskeyApi } from '@/scripts/misskey-api.js';
import { i18n } from '@/i18n.js';
import { useInterval } from '@/scripts/use-interval.js';
import { WithNonNullable } from '@/type.js';
const props = defineProps<{
note: Misskey.entities.Note;
note: WithNonNullable<Misskey.entities.Note, 'poll'>;
readOnly?: boolean;
}>();