-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
feat(app/ts): add TS version of PWA files #8705
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
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice addition 💯 Added a few suggestions for possible improvements 🚀
867c316
to
095f96c
Compare
@yusufkandemir can you take another look at this and check if this works better than the previous version? @webnoob @TobyMosque here I had to define a local tsconfig as PWA files run in a different context (the webworker one) than the DOM one. |
@IlCallo it doesn't work. I've added some comments about it on the discussion related to the "TS reference directive including web worker lib" solution. |
@yusufkandemir try again copying in the ESLint config override I put there. Now VSCode intellisense should work, still working on how to tell fork-ts-checker to get the correct one |
Fork-ts-checker automatically takes the root level ESLint file and tsconfig, this breaks the compilation. Will try again next weeks |
3106dda
to
0ffa877
Compare
Plot twist: it is probably Some tweaks are surely needed to make it take the correct config, but this should be doable This is the place where to operate:
About using triple slash references solution, the problem with that one is that it would become cumbersome to manage that folder in the moment you want to split your code in multiple folders PS: get a clean copy of the branch from GH, as I rebased and force pushed to get latest vue3-work changes |
@IlCallo actually, it works correctly when I disable the Also, I've noticed that as |
Does |
Hi, This was closed by an accident. Seems like deleting vue3-work branch also closed all PRs associated with it. |
What kind of change does this PR introduce? (check at least one)
Does this PR introduce a breaking change? (check one)
If yes, please describe the impact and migration path for existing applications:
The PR fulfills these requirements:
dev
branch and not themaster
branchfix: #xxx[,#xxx]
, where "xxx" is the issue number)If adding a new feature, the PR's description includes:
Other information: