Skip to main content

Function: collectModuleImportBindings()

function collectModuleImportBindings(
programNode: Readonly<TSESTree.Program>,
sourceModuleName: string
): ModuleImportBindings;

Defined in: _internal/module-import-bindings.ts:74

Collect default, named, and namespace bindings from one module source.

Parametersโ€‹

programNodeโ€‹

Readonly<TSESTree.Program>

sourceModuleNameโ€‹

string

Returnsโ€‹

ModuleImportBindings