1
0
mirror of https://github.com/misskey-dev/misskey.git synced 2026-06-04 04:14:14 +02:00

refactor: make noImplicitAny true (#17083)

* wip

* Update emojis.emoji.vue

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* Update manager.ts

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* Update analytics.ts
This commit is contained in:
syuilo
2026-01-09 22:06:40 +09:00
committed by GitHub
parent 2a14025c29
commit 41592eafb3
233 changed files with 966 additions and 963 deletions

View File

@@ -78,7 +78,7 @@ import { ensureSignin } from '@/i.js';
const $i = ensureSignin();
const props = defineProps<{
avatarDecoration?: any,
avatarDecoration?: Misskey.entities.AdminAvatarDecorationsListResponse[number],
}>();
const emit = defineEmits<{
@@ -109,7 +109,7 @@ async function addRole() {
rolesThatCanBeUsedThisDecoration.value.push(roles.find(r => r.id === roleId)!);
}
async function removeRole(role, ev) {
async function removeRole(role: Misskey.entities.Role, ev: PointerEvent) {
rolesThatCanBeUsedThisDecoration.value = rolesThatCanBeUsedThisDecoration.value.filter(x => x.id !== role.id);
}
@@ -147,6 +147,8 @@ async function done() {
}
async function del() {
if (props.avatarDecoration == null) return;
const { canceled } = await os.confirm({
type: 'warning',
text: i18n.tsx.removeAreYouSure({ x: name.value }),