vue: NPCControl(WIP) 메인 기능 동작

This commit is contained in:
Hide_D committed 2021-09-08 02:48:46 +09:00
1 parent 598236a1d2
commit ffc7d4bacc
8 files changed
+426 -40

No files matched your search

+9
View File
@@ -0,0 +1,9 @@
import { IDItem } from "../defs";
export function convertIDArray<T>(array: Iterable<T>): IDItem<T>[] {
const result: IDItem<T>[] = [];
for (const id of array) {
result.push({ id });
}
return result;
}