Skip to content
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

Migrating to v2 #40

Closed
syl-oh opened this issue Jan 16, 2023 · 1 comment
Closed

Migrating to v2 #40

syl-oh opened this issue Jan 16, 2023 · 1 comment

Comments

@syl-oh
Copy link

syl-oh commented Jan 16, 2023

Hello @jfromaniello, How do I migrate from v1 to v2 in typescript, from what I can see:

  • Options is now Params
  • unless.RequestHandler has disappeared in v2.1.3, what should I use instead ?

Are there any other breaking change?

@syl-oh
Copy link
Author

syl-oh commented Mar 14, 2023

linked to #39 I guess.
The function unless as not return type I can use to replace unless.RequestHandler, so far any is an ugly option.

@syl-oh syl-oh closed this as completed Mar 14, 2023
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

1 participant