chore(lune): fix manifest PackageTarget type

Co-authored-by: Luka <47296785+lukadev-0@users.noreply.github.com>
This commit is contained in:
Erica Marigold 2024-12-08 23:51:56 +05:30 committed by GitHub
parent 80df6f053d
commit 02c835f80f
Signed by untrusted user who does not match committer: DevComp
GPG key ID: 429EF1C337871656

View file

@ -31,13 +31,14 @@ export type DependencySpecifier = ((
}) | { wally: string, version: string, index: string? } }) | { wally: string, version: string, index: string? }
export type PackageTarget = { export type PackageTarget = {
environment: "luau" | "lune" | "roblox" | "roblox_server", environment: "roblox" | "roblox_server",
lib: string, lib: string,
} | ({ environment: "luau" | "lune" } & ({
bin: string,
} | { } | {
environment: "luau" | "lune",
lib: string,
bin: string,
scripts: { [string]: string }, scripts: { [string]: string },
})) }
export type PesdeManifest<T = {}> = { export type PesdeManifest<T = {}> = {
name: string, name: string,