Skip to main content
Module

x/ts_morph/mod.ts>SourceFile#onModified

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

Subscribe to when the source file is modified.

Parameters

subscription: (sender: SourceFile) => void
  • Subscription.
optional
subscribe: boolean
  • Optional and defaults to true. Use an explicit false to unsubscribe.