fix(typing): correctly type `cached` decorator

Frank Bessou requested to merge topic/default/cached-typing into branch/default

Merge request reports