Added example for inferred types in generated declaration files