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

Missing types in v5.1.0 #1033

Open
F0rce opened this issue Dec 17, 2024 · 1 comment
Open

Missing types in v5.1.0 #1033

F0rce opened this issue Dec 17, 2024 · 1 comment

Comments

@F0rce
Copy link

F0rce commented Dec 17, 2024

storyblok.com


Expected Behavior

Types should be included in the latest version

Current Behavior

Types are not included in the latest release and cause CI (and local development) to fail.

Could not find a declaration file for module '@storyblok/astro'. '<project_path>/node_modules/.pnpm/@[email protected][email protected]_@[email protected][email protected][email protected][email protected][email protected]_/node_modules/@storyblok/astro/dist/storyblok-astro.es.js' implicitly has an 'any' type.
  If the '@storyblok/astro' package actually exposes this module, try adding a new declaration (.d.ts) file containing `declare module '@storyblok/astro';`ts(7016)

astro info

Astro                    v5.0.9
Node                     v20.10.0
System                   macOS (x64)
Package Manager          pnpm
Output                   server
Adapter                  @astrojs/cloudflare
Integrations             @storyblok/astro
                         @astrojs/tailwind

Typescript Version: ^5.7.2

Steps to Reproduce

  1. Upgrade to v5.1.0
  2. Restart TS server (in visual studio code) or let it build in CI
@F0rce
Copy link
Author

F0rce commented Dec 17, 2024

Downgrading to v5.0.1 fixes the issue locally and in CI

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