Skip to content

@pumpkin-plugins/build API / wit-method-usage/imports / createUnseenImportCheck

Function: createUnseenImportCheck() ​

createUnseenImportCheck(program): (node) => boolean

Defined in: tools/build/src/wit-method-usage/imports.ts:8

Returns a check for runtime imports, re-exports and module calls that load code the analysis cannot see: a computed specifier, or Pumpkin or WASI bindings that neither resolve to a file nor match an ambient module declaration.

Parameters ​

program ​

Program

Returns ​

(node) => boolean

pumpkin-plugins documentation