Module

x/ts_morph/mod.ts>DiagnosticMessageChain#getCode

TypeScript Compiler API wrapper for static analysis and programmatic code changes.
Very Popular
Latest
method DiagnosticMessageChain.prototype.getCode
import { DiagnosticMessageChain } from "https://dotland.deno.dev/x/ts_morph@22.0.0/mod.ts";

Gets the code of the diagnostic message chain.

Returns

number