ts-morpheus
Preparing search index...
common
getImportDeclarationOrThrow
Function getImportDeclarationOrThrow
getImportDeclarationOrThrow
(
sourceFile
:
SourceFile
,
moduleName
:
string
,
)
:
ImportDeclaration
Get import declaration or throw error if not found
Parameters
sourceFile
:
SourceFile
{SourceFile}
moduleName
:
string
{string}
Returns
ImportDeclaration
Throws
if declaration not found
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
ts-morpheus
Loading...
Get import declaration or throw error if not found