Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/deno/cli/js/compiler_util.ts>WriteFileCallback

A modern runtime for JavaScript and TypeScript.
Go to Latest
type alias WriteFileCallback
import { type WriteFileCallback } from "https://deno.land/x/deno@v0.30.0/cli/js/compiler_util.ts";

Type for the write fall callback that allows delegation from the compiler host on writing files.

definition: (
fileName: string,
data: string,
sourceFiles?: readonly ts.SourceFile[],
) => void