Logo Xantham

AreaAssignment Module

Functions and values

Function or value Description

assign packageOfPath recipe result

Full Usage: assign packageOfPath recipe result

Parameters:
Returns: AreaAssignmentResult

Compute the assignment. `packageOfPath` maps a source-path FQN part to its npm package (injected: Common stays free of path/regex concerns).

packageOfPath : string -> string option
recipe : Recipe
result : EncodedResult
Returns: AreaAssignmentResult

keysOfExport export

Full Usage: keysOfExport export

Parameters:
Returns: TypeKey list
export : TsExportDeclaration
Returns: TypeKey list

keysOfType typ

Full Usage: keysOfType typ

Parameters:
Returns: TypeKey list
typ : TsType
Returns: TypeKey list

Type something to start searching.