CodeQL library for JavaScript
codeql/javascript-all 0.3.4 (changelog, source)
Search

Module InterModuleTypeInference

INTERNAL: Do not use directly; use semmle.javascript.dataflow.TypeInference instead.

Provides classes implementing type inference across imports.

Import path

import semmle.javascript.dataflow.internal.InterModuleTypeInference

Classes

AnalyzedExternalModuleReference

A special TypeScript require call in an import-assignment, interpreted as an implicit of the module.exports property of the imported module.

AnalyzedRequireCall

A call to require, interpreted as an implicit read of the module.exports property of the imported module.