Kind: Function
Source: atloria-monorepo/libs/parser-core/src/utils/ast-helpers.ts
Extract type definitions (interfaces and type aliases) from file Returns a map of type name to type declaration node
Signature
tsfunction extractTypeDefinitionsFromPath(path: NodePath<t.Program>): TypeDefinitionMap
Parameters
| Name | Type |
|---|---|
path | NodePath<t.Program> |
Returns: TypeDefinitionMap
Was this page helpful?