Skip to main content
Deno 2 is finally here 🎉️
Learn more
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://deno.land/x/ts_morph@16.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; }