Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface Service

Primary ts-node service, which wraps the TypeScript API and can compile TypeScript to JavaScript

Hierarchy

  • Service

Index

Properties

config

config: ParsedCommandLine

options

ts

Methods

compile

  • compile(code: string, fileName: string, lineOffset?: number): string
  • Parameters

    • code: string
    • fileName: string
    • Optional lineOffset: number

    Returns string

enabled

  • enabled(enabled?: boolean): boolean

getTypeInfo

  • getTypeInfo(code: string, fileName: string, position: number): TypeInfo

ignored

  • ignored(fileName: string): boolean

Generated using TypeDoc