Skip to main content
Deno 2 is finally here 🎉️
Learn more
Extremely Popular
Go to Latest
interface esbuildTypes.TransformResult
import { type esbuildTypes } from "https://deno.land/x/fresh@1.5.1/src/build/deps.ts";
const { TransformResult } = esbuildTypes;

Type Parameters

optional
ProvidedOptions extends TransformOptions = TransformOptions

Properties

code: string
map: string
warnings: Message[]
mangleCache: Record<string, string | false> | (ProvidedOptions["mangleCache"] extends Object ? never : undefined)

Only when "mangleCache" is present

legalComments: string | (ProvidedOptions["legalComments"] extends "external" ? never : undefined)

Only when "legalComments" is "external"