mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
12 lines
515 B
Plaintext
12 lines
515 B
Plaintext
deleteOperatorInStrictMode.ts(3,8): error TS1102: 'delete' cannot be called on an identifier in strict mode.
|
|
deleteOperatorInStrictMode.ts(3,8): error TS2703: The operand of a 'delete' operator must be a property reference.
|
|
|
|
|
|
==== deleteOperatorInStrictMode.ts (2 errors) ====
|
|
"use strict"
|
|
var a;
|
|
delete a;
|
|
~
|
|
!!! error TS1102: 'delete' cannot be called on an identifier in strict mode.
|
|
~
|
|
!!! error TS2703: The operand of a 'delete' operator must be a property reference. |