fix some type issue

This commit is contained in:
Asaki Yuki 2026-02-02 15:34:14 +07:00
parent 5d982f3d3d
commit 635285b8d0
5 changed files with 5 additions and 4 deletions

View file

@ -1,7 +1,7 @@
import { config } from "../Configuration.js"
import { getUUID } from "./linker.js"
export const version = config.packinfo?.version || [4, 0, 0]
export const version = config.packinfo?.version || [4, 0, 1]
export async function genManifest() {
const [uuid1, uuid2] = await getUUID()

View file

@ -1,6 +1,7 @@
import { Value } from "../value.js"
export interface Image {
fill?: Value<boolean>
texture_path?: Value<string>
texture?: Value<string>
}

View file

@ -2,7 +2,7 @@ import { Anchor } from "../../enums/Anchor.js"
import { Value, AnimValue, Array2 } from "../value.js"
export interface Layout {
offset?: AnimValue<Array2<number>>
offset?: AnimValue<Array2<number | string>>
size?: AnimValue<Array2<number | string>>
max_size?: AnimValue<Array2<number | string>>
min_size?: AnimValue<Array2<number | string>>