13 lines
411 B
Plaintext
13 lines
411 B
Plaintext
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;
|
|
}
|
|
}
|
|
} |