Module

x/ts_morph/common/mod.ts>createHosts

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

Creates a language service host and compiler host.

Parameters

  • Options for creating the hosts.

Returns

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