11 lines
478 B
Plaintext
11 lines
478 B
Plaintext
tests/cases/conformance/statements/withStatements/withStatements.ts(2,1): error TS2410: The 'with' statement is not supported. All symbols in a 'with' block will have type 'any'.
|
|
|
|
|
|
==== tests/cases/conformance/statements/withStatements/withStatements.ts (1 errors) ====
|
|
var x = 12;
|
|
with (x) {
|
|
~~~~~~~~
|
|
!!! error TS2410: The 'with' statement is not supported. All symbols in a 'with' block will have type 'any'.
|
|
name = 'twelve'
|
|
id = 12
|
|
} |