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