mirror of
https://github.com/misskey-dev/misskey.git
synced 2026-05-03 21:56:18 +02:00
refactor(frontend): Formまわりの型強化 (#16260)
* refactor(frontend): Formまわりの型強化 * fix * avoid non-null assertion and add null check for safety * refactor * avoid non-null assertion and add null check for safety * Update clip.vue --------- Co-authored-by: syuilo <4439005+syuilo@users.noreply.github.com>
This commit is contained in:
@@ -101,7 +101,7 @@ export async function getNoteClipMenu(props: {
|
||||
const { canceled, result } = await os.form(i18n.ts.createNewClip, {
|
||||
name: {
|
||||
type: 'string',
|
||||
default: null,
|
||||
default: null as string | null,
|
||||
label: i18n.ts.name,
|
||||
},
|
||||
description: {
|
||||
|
||||
Reference in New Issue
Block a user