Skip to main content
Module

x/ts_morph/mod.ts>Project#removeSourceFile

TypeScript Compiler API wrapper for static analysis and programmatic code changes.
Very Popular
Go to Latest
method Project.prototype.removeSourceFile
import { Project } from "https://deno.land/x/ts_morph@15.1.0/mod.ts";

Removes a source file from the project.

Parameters

sourceFile: SourceFile
  • Source file to remove.

Returns

boolean

True if removed.