mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
14 lines
262 B
TypeScript
14 lines
262 B
TypeScript
//// [tests/cases/conformance/types/primitives/string/assignFromStringInterface.ts] ////
|
|
|
|
//// [assignFromStringInterface.ts]
|
|
var x = '';
|
|
declare var a: String;
|
|
x = a;
|
|
a = x;
|
|
|
|
//// [assignFromStringInterface.js]
|
|
"use strict";
|
|
var x = '';
|
|
x = a;
|
|
a = x;
|