TypeScript/tests/baselines/reference/functionExpressionInWithBlock.errors.txt

13 lines
411 B
Plaintext
Raw Normal View History

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;
}
}
}