Module

x/ts_morph/common/mod.ts>createHosts

TypeScript Compiler API wrapper for static analysis and programmatic code changes.
Go to Latest
function createHosts
import { createHosts } from "https://dotland.deno.dev/x/ts_morph@21.0.0/common/mod.ts";

Creates a language service host and compiler host.

Parameters

  • Options for creating the hosts.

Returns

{ languageServiceHost: ts.LanguageServiceHost; compilerHost: ts.CompilerHost; }