Skip to content

types: adapters declaration file - #1230

Merged
Rich-Harris merged 9 commits into
sveltejs:masterfrom
ignatiusmb:feat/adapter-types
Apr 26, 2021
Merged

types: adapters declaration file#1230
Rich-Harris merged 9 commits into
sveltejs:masterfrom
ignatiusmb:feat/adapter-types

Conversation

@ignatiusmb

Copy link
Copy Markdown
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
Copy Markdown
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