Preparing search index...
The search index is not available
@saber2pr/ts-compiler
@saber2pr/ts-compiler
compiler
readTsExport
Function readTsExport
read
Ts
Export
(
code
,
__fileName
?
,
options
?
)
:
Promise
<
any
>
读取ts代码并执行,获取export的变量
Parameters
code
:
string
Optional
__fileName
:
string
Optional
options
:
CompilerOptions
Returns
Promise
<
any
>
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代码并执行,获取export的变量