fix: debug with type error checks

This commit is contained in:
pa
2025-07-16 11:04:54 +09:00
committed by Natsumi
parent 6d693e278c
commit 39381de29e
16 changed files with 188 additions and 105 deletions

View File

@@ -3,8 +3,7 @@ import { useWorldStore } from '../stores';
const worldReq = {
/**
* @param {{worldId: string}} params
* @returns {Promise<{json: any, params}>}
* @type {import('../types/world').getWorld}
*/
getWorld(params) {
const worldStore = useWorldStore();
@@ -22,7 +21,7 @@ const worldReq = {
/**
* @param {{worldId: string}} params
* @returns {Promise<{json: any, params}>}
* @returns {Promise<{json: any, ref: any, cache?: boolean, params}>}
*/
getCachedWorld(params) {
const worldStore = useWorldStore();