Skip to main content
Version: Next 🚧

[F] getDeprecationDetails

function getDeprecationDetails(program, typeOrNode): DeprecationDetails | undefined

Returns complete deprecation details for the given type or node

Parameters

ParameterTypeDescription
programProgramProgram
typeOrNodeType | NodeA Type or Node to check for deprecation

Returns

DeprecationDetails | undefined