-
-
Notifications
You must be signed in to change notification settings - Fork 2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Include ambient.d.ts files in adapter packages. (#6917)
* Include ambient.d.ts files in adapter packages. Fixes automatic typing for Cloudflare caches and similar stuff. * Update packages/adapter-netlify/package.json * Update packages/adapter-node/package.json * Update packages/adapter-vercel/package.json * Update .changeset/dull-cows-sneeze.md Co-authored-by: Rich Harris <[email protected]>
- Loading branch information
1 parent
acd6eb7
commit e40acb5
Showing
3 changed files
with
9 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
--- | ||
'@sveltejs/adapter-cloudflare': patch | ||
'@sveltejs/adapter-cloudflare-workers': patch | ||
--- | ||
|
||
Include ambient.d.ts files in adapter packages. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -19,6 +19,7 @@ | |
"main": "index.js", | ||
"types": "index.d.ts", | ||
"files": [ | ||
"ambient.d.ts", | ||
"files", | ||
"index.d.ts" | ||
], | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters