-
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
11.0.0-beta.4 can't import languages in TypeScript #7952
Comments
Thank you for reporting! |
Hi @clementcontet, thanks for the report. Can you give us the steps to reproduce? In particular: what import statement triggered this? What tool, and how was it configured? |
Hi, sure! |
Fixes google#7952. The main typings file for langfiles, typings/msg/msg.d.ts, was inadvertently deleted in PR google#7822. This was part of a well intentioned attempt to remove spurious files from typings/msg/ that do not correspond to published langfiles, but this file should have been retained because msg.d.ts is reexported by all the other *.d.ts files in this directory.
…dd TS import test (#7955) * test(typings): Add langfile (msg) import + typings test * fix(typings): Restore inadvertently-deleted typings/msg/msg.d.ts Fixes #7952. The main typings file for langfiles, typings/msg/msg.d.ts, was inadvertently deleted in PR #7822. This was part of a well intentioned attempt to remove spurious files from typings/msg/ that do not correspond to published langfiles, but this file should have been retained because msg.d.ts is reexported by all the other *.d.ts files in this directory.
The fix took slightly longer than expected because my initial guess was that the problem was that the export * from './msg'; should instead have used the full file name export * from './msg.d.ts'; and I was wondering why this hadn't been a problem in Blockly v9 or v10—but of course I soon discovered that the problem was much simpler: I'd accidentally deleted Thanks @clementcontet for reporting it so quickly. |
Check for duplicates
Description
Hi, with 11.0.0-beta.4, I can't import languages anymore in my TypeScript app:
Reproduction steps
No response
Stack trace
No response
Screenshots
No response
Browsers
Chrome desktop
The text was updated successfully, but these errors were encountered: