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

Importing module causes "Cannot find module '@twa-dev/sdk' or its corresponding type declarations" error in VS code #12

Open
pernifin opened this issue Feb 16, 2024 · 2 comments

Comments

@pernifin
Copy link

Basically title.
Although importing
import { type WebApp } from "@twa-dev/types";
works fine, but
import TwaSdk from '@twa-dev/sdk';
causes this error.

@emil14
Copy link

emil14 commented May 13, 2024

tmp workaround

// eslint-disable-next-line @typescript-eslint/ban-ts-comment
// @ts-nocheck

@Mattijah
Copy link

Mattijah commented Jun 8, 2024

Same issue, none of these work and still no solution in months?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

3 participants