Extremely Popular
Go to Latest
interface esbuildTypes.TransformResult
import { type esbuildTypes } from "https://dotland.deno.dev/x/fresh@1.1.5/src/server/deps.ts";
const { TransformResult } = esbuildTypes;

Type Parameters

optional
SpecificOptions extends TransformOptions = TransformOptions

Properties

code: string
map: string
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"