Kind: Function
Source: atloria-monorepo/libs/parser-core/src/utils/ast-helpers.ts
Extract imports from an ImportDeclaration node
Signature
tsfunction extractImportsFromDeclaration(path: NodePath<t.ImportDeclaration>): ImportInfo[]
Parameters
| Name | Type |
|---|---|
path | NodePath<t.ImportDeclaration> |
Returns: ImportInfo[]
Was this page helpful?