mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
11 lines
349 B
Plaintext
11 lines
349 B
Plaintext
duplicatePropertiesInStrictMode.ts(4,3): error TS1117: An object literal cannot have multiple properties with the same name.
|
|
|
|
|
|
==== duplicatePropertiesInStrictMode.ts (1 errors) ====
|
|
"use strict";
|
|
var x = {
|
|
x: 1,
|
|
x: 2
|
|
~
|
|
!!! error TS1117: An object literal cannot have multiple properties with the same name.
|
|
} |