[F] getDeprecationDetails
function getDeprecationDetails(program, typeOrNode): DeprecationDetails | undefined
Returns complete deprecation details for the given type or node
Parameters
Parameter | Type | Description |
---|---|---|
program | Program | Program |
typeOrNode | Type | Node | A Type or Node to check for deprecation |
Returns
DeprecationDetails
| undefined