Search
Preparing search index...
The search index is not available
rtjs
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
Globals
"transpiler/compiler"
External module "transpiler/compiler"
Index
Interfaces
Compiler
Config
Variables
DEFAULT_
COMPILER_
CONFIG
write
File
Functions
compile
program
Files
snap
For
write
File
Callback
Variables
Const
DEFAULT_
COMPILER_
CONFIG
DEFAULT_
COMPILER_
CONFIG
:
Readonly
<
CompilerConfig
>
= Object.freeze({transformConfig: DEFAULT_TRANSFORM_CONFIG})
Let
write
File
write
File
:
__promisify__
= promisify(fs.writeFile)
Functions
compile
compile
(
config
?:
CompilerConfig
, sourceFiles
:
string
[]
, compilerOptions
?:
ts.CompilerOptions
, writeCallback
?:
writeFileCallback
)
:
Promise
<
Diagnostic
[]
>
Parameters
Default value
config:
CompilerConfig
= DEFAULT_COMPILER_CONFIG
sourceFiles:
string
[]
Optional
compilerOptions:
ts.CompilerOptions
Default value
writeCallback:
writeFileCallback
= writeFileCallback
Returns
Promise
<
Diagnostic
[]
>
program
Files
program
Files
(
program
:
Program
)
:
string
[]
Parameters
program:
Program
Returns
string
[]
snap
For
snap
For
(
path
:
string
, files
:
ReadonlyArray
<
SourceFile
>
)
:
IScriptSnapshot
|
undefined
Parameters
path:
string
files:
ReadonlyArray
<
SourceFile
>
Returns
IScriptSnapshot
|
undefined
write
File
Callback
write
File
Callback
(
fileName
:
string
, data
:
string
, writeByteOrderMark
:
boolean
, onError
:
function
|
undefined
, sourceFiles
?:
ReadonlyArray
<
SourceFile
>
)
:
Promise
<
void
>
Parameters
fileName:
string
data:
string
writeByteOrderMark:
boolean
onError:
function
|
undefined
Optional
sourceFiles:
ReadonlyArray
<
SourceFile
>
Returns
Promise
<
void
>
Globals
"
Deadline
Scheduler"
"
Fixed
Priority
Scheduler"
"
Scheduler"
"
Task"
"index"
"rt"
"transpiler/compiler"
"transpiler/parser"
"transpiler/raw-
runner"
"transpiler/rtjs-
transpiler"
"transpiler/runner"
"transpiler/transforms"
Compiler
Config
DEFAULT_
COMPILER_
CONFIG
write
File
compile
program
Files
snap
For
write
File
Callback
Generated using
TypeDoc