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

@ -77,7 +77,14 @@ const emit = defineEmits<{
(ev: 'end'): void;
}>();
const particles = [];
const particles: {
size: number;
xA: number;
yA: number;
xB: number;
yB: number;
color: string;
}[] = [];
const origin = 64;
const colors = ['#FF1493', '#00FFFF', '#FFE202'];
const zIndex = os.claimZIndex('high');