Skip to main content

Function: getImporters()

Call Signature

getImporters(path, createNew?): undefined | Set<string>

Defined in: packages/bakit/src/lib/loader/loader.ts:83

Get a list of the files which imported the target.

Parameters

path

string

Target file path to get.

createNew?

false

Create a new Set cache for the target path.

Returns

undefined | Set<string>

Call Signature

getImporters(path, createNew): Set<string>

Defined in: packages/bakit/src/lib/loader/loader.ts:84

Get a list of the files which imported the target.

Parameters

path

string

Target file path to get.

createNew

true

Create a new Set cache for the target path.

Returns

Set<string>