Kind: Function
Source: atloria-monorepo/apps/frontend-parser/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?