Skip to content

Static type testing in TS not working: error 2339 #27

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
rasmussyberg opened this issue May 8, 2018 · 1 comment
Closed

Static type testing in TS not working: error 2339 #27

rasmussyberg opened this issue May 8, 2018 · 1 comment

Comments

@rasmussyberg
Copy link

Example:
When calling function createResolver from baseResolver TS reports an error.
error TS2339: Property 'createResolver' does not exist on type '(root: any, args?: {}, context?: {}) => Promise'.

Example code readme.md
export const isAuthenticatedResolver = baseResolver.createResolver(

@mringer
Copy link
Contributor

mringer commented May 8, 2018

@rasmussyberg This is a duplicate of #22

@mringer mringer closed this as completed May 8, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants