-
Notifications
You must be signed in to change notification settings - Fork 3.7k
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
chore: properly package .ts and .d.ts files #6257
Conversation
Tried linking this to a plugin, and I'm getting the error:
Not sure what's up, need to debug |
Closing this until we resolve the build issues. |
Linking this to the https://github.com/johnnyoshika/blockly-typescript-libcheck repo continues to work, but in samples I'm not really getting intellisense. E.g. if I type I'm not sure if this is a problem with the type defs (since the work in the other repo) or if vscode is just overwhelmed. |
I was linking the I don't think VSCode likes monorepos. But we know that the typedefs work for intellisense. I tested both |
Looks like this should be replaced by a PR targetting |
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.
-
Shouldn't this PR deleting (or at least considerably reducing the size of)
typings/blockly.d.ts
? -
Please remove any other vestiges of the old typings system—e.g. references to
checkin:typings
inpackage.json
andcheckinTypings
ingulpfile.js
.
I decided to use the |
We'll see… |
The basics
npm run format
andnpm run lint
The details
Resolves
Work on #5857
Proposed Changes
AnyDuringMigration
within the generated .d.ts files toany
.Reason for Changes
AnyDuringMigration
, and we can't importany_aliases.d.ts
because it's not a module. Plusany
is clearer for external devs.Test Coverage
I did the first step from #6174 but I need to do the rest of it, which is why this is going up as a draft.
Documentation
Additional Information
Docs for removing the useless imports: