Typescript Function Type Variable R