Uh oh!
There was an error while loading. Please reload this page.
Docs: remove an outdated TypeScript-related note - #7260
Conversation
There is no error because the file has imports.
facebook-github-bot
commented
Jun 21, 2019
Thank you for your pull request and welcome to our community. We require contributors to sign our Contributor License Agreement, and we don't seem to have you on file. In order for us to review and merge your code, please sign up at https://code.facebook.com/cla. If you are contributing on behalf of someone else (eg your employer), the individual CLA may not be sufficient and your employer may need the corporate CLA signed. If you have received this in error or have any questions, please contact us at cla@fb.com. Thanks! |
facebook-github-bot
commented
Jun 21, 2019
Thank you for signing our Contributor License Agreement. We can now accept your code for this (and any) Facebook open source project. Thanks! |
iansu
commented
Jun 21, 2019
Do you have a reference to where this was fixed? |
MidnightDesign
commented
Jun 22, 2019
Nope, I couldn't find anything. I just didn't get the error. You will get the error if you create a .ts file with no imports and no exports. But as soon as the file has at least one import (but no exports) it's gone. So I'm guessing this is something that behaved differently at some point. |
This pull request has been automatically marked as stale because it has not had any recent activity. It will be closed in 5 days if no further activity occurs. |
iansu
commented
Jul 22, 2019
Thanks! |
Maybe this was changed at some point in TypeScript.