-
Notifications
You must be signed in to change notification settings - Fork 12.8k
Error: TS2393: Duplicate function implementation. #28833
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
Comments
what other code is in your compilation? This doesn't happen in the playground, so something important is missing from your description. |
2 file all have video https://www.youtube.com/watch?v=rj8wdubGmf8&feature=youtu.be
|
Oh. Well, yeah. Both of those files are interpreted as being globally scoped, so we see two definitions of |
but they didn't use together i think should not check this i don't understand why need check this |
Yes This must be a bug why all the files in the same folder are globally scopes |
TypeScript Version: 3.2.0-dev.201xxxxx
Search Terms: Duplicate function implementation.
Code
i know in #24925 (comment)
it say can add
export {};
so there is no
f
in globalExpected behavior:
Actual behavior:
Playground Link:
Related Issues:
The text was updated successfully, but these errors were encountered: