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