Skip to content
This repository has been archived by the owner on Feb 1, 2021. It is now read-only.

Fix return type definitions on promises #185

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

karlvr
Copy link

@karlvr karlvr commented Mar 26, 2018

TypeScript 2.7 complains about these type definitions not having return types declared, in the default TypeScript configuration. I have added return types using the same type as the given promise, as it will pass through the same argument types.

TypeScript 2.7 complains about these type definitions not having return types declared, in the default TypeScript configuration. I have added return types using the same type as the given promise, as it will pass through the same argument types.
@karlvr karlvr changed the title Add return type definitions on promises Fix return type definitions on promises Mar 26, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant