10 lines
No EOL
257 B
Text
10 lines
No EOL
257 B
Text
==== tests/cases/compiler/functionExpressionInWithBlock.ts (1 errors) ====
|
|
function x() {
|
|
with({}) {
|
|
~~
|
|
!!! All symbols within a 'with' block will be resolved to 'any'.
|
|
function f() {
|
|
() => this;
|
|
}
|
|
}
|
|
} |