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