chore(client): fix type

This commit is contained in:
syuilo 2022-06-26 15:55:51 +09:00 committed by Johann150
parent c64b1ceb83
commit d6146d9102
Signed by: Johann150
GPG key ID: 9EE6577A2A06F8F1
2 changed files with 2 additions and 2 deletions

View file

@ -18,7 +18,7 @@ const props = defineProps<{
instance: misskey.entities.Instance;
}>();
let chartValues = $ref<number | null>(null);
let chartValues = $ref<number[] | null>(null);
os.apiGet('charts/instance', { host: props.instance.host, limit: 16 + 1, span: 'day' }).then(res => {
//

View file

@ -19,7 +19,7 @@ const props = defineProps<{
user: misskey.entities.User;
}>();
let chartValues = $ref<number | null>(null);
let chartValues = $ref<number[] | null>(null);
os.apiGet('charts/user/notes', { userId: props.user.id, limit: 16 + 1, span: 'day' }).then(res => {
//