import { type TransformResult } from "https://deno.land/x/esbuild@v0.17.0/wasm.d.ts";
Type Parameters
optional
SpecificOptions extends TransformOptions = TransformOptionsProperties
warnings: Message[]
mangleCache: Record<string, string | false> | (SpecificOptions["mangleCache"] extends Object ? never : undefined)
Only when "mangleCache" is present
legalComments: string | (SpecificOptions["legalComments"] extends "external" ? never : undefined)
Only when "legalComments" is "external"