Closed
Description
Bug Report
π Search Terms
private js
π Version & Regression Information
- This is the behavior in every version I tried
β― Playground Link
Playground link with relevant code
π» Code
foobar.js
=====================================
class FooBar {
#foo() {
console.log("foo")
}
bar() {
console.log("bar")
this.#foo();
}
}
=====================================
$ tsc --allowJs -> invalid output
π Actual behavior
Produces an invalid output
π Expected behavior
Produce a valid output