You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Right now there is no way to extract external dependencies from SourceFile. This is useful for tools like awesome-typescript-loader to track files dependencies and trigger rebuils on changed files.
I propose to make collectExternalModuleReferences function from program.ts to became public for external users or add overload to preProcessFile to take existing SourceFile.
The text was updated successfully, but these errors were encountered:
Refs #9017
Right now there is no way to extract external dependencies from SourceFile. This is useful for tools like awesome-typescript-loader to track files dependencies and trigger rebuils on changed files.
I propose to make
collectExternalModuleReferences
function fromprogram.ts
to became public for external users or add overload topreProcessFile
to take existingSourceFile
.The text was updated successfully, but these errors were encountered: