Preparing search index...
The search index is not available
@saber2pr/ts-compiler
@saber2pr/ts-compiler
compiler
compile
Function compile
compile
(
code
,
options
?
)
:
Promise
<
string
>
编译ts代码字符串,输出js字符串(会检查类型)
Parameters
code
:
string
Optional
options
:
CompilerOptions
Returns
Promise
<
string
>
Settings
Member Visibility
Protected
Private
Inherited
External
Theme
OS
Light
Dark
@saber2pr/ts-compiler
CompilerOptions
FileImport
ImportStatement
compile
contextModuleMap
createTransformer
getImports
parseImportNames
readTsExport
readTsFileExport
runCode
transform
transpile
visitNodes
compiler
transformer
traverser
utils
EntryResult
scan
walkFile
Loading...
Generated using
TypeDoc
编译ts代码字符串,输出js字符串(会检查类型)