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

types: adapters declaration file #1230

Merged
merged 9 commits into from
Apr 26, 2021
Merged

types: adapters declaration file #1230

merged 9 commits into from
Apr 26, 2021

Conversation

ignatiusmb
Copy link
Member

The adapter API might still change in the future, but at least this will silence Could not find a declaration file for module '@sveltejs/adapter-xyz'. for the time being, and provide autocompletion for static and node adapter options.

Return type of import('@sveltejs/kit').Adapter is used because import error

Changesets

  • If your PR makes a change that should be noted in one or more packages' changelogs, generate a changeset by running pnpx changeset and following the prompts

@Rich-Harris Rich-Harris merged commit 2e72a94 into sveltejs:master Apr 26, 2021
@Rich-Harris
Copy link
Member

thanks 👍

pzerelles pushed a commit to pzerelles/sveltekit that referenced this pull request Apr 26, 2021
* add adapter-static types

* add adapter-node types

* add adapter-vercel types

* add adapter-cloudflare types

* add adapter-netlify types

* add adapter-begin types

* add fallback argument types

* add changeset
@ignatiusmb ignatiusmb deleted the feat/adapter-types branch April 27, 2021 01:01
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

Successfully merging this pull request may close these issues.

2 participants