chore(client): fix type

This commit is contained in:
syuilo 2022-06-26 15:55:51 +09:00
parent f4fd24f72a
commit 3d3519c494
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 => {
//