Skip to content

pantoken-root / plugins/pantoken/deprecations/src / deprecationShims

Funció: deprecationShims() ​

deprecationShims(ledger): PantokenPlugin

Beta

Crea el connector de compatibilitat de desaprovació a partir d'un registre.

Paràmetres ​

ledger ​

DeprecationLedger

El DeprecationLedger (p. ex. formats/tokens/deprecations.json).

Retorna ​

PantokenPlugin

Un PantokenPlugin el ganxo tokens del qual afegeix una compatibilitat per entrada.