Skip to main content
Module

x/ts_morph/mod.ts>CompilerOptionsContainer#getEncoding

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

Gets the encoding from the compiler options or returns utf-8.

Returns

string