mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
27 lines
340 B
TypeScript
27 lines
340 B
TypeScript
//// [tests/cases/compiler/constDeclarations-useBeforeDefinition.ts] ////
|
|
|
|
//// [constDeclarations-useBeforeDefinition.ts]
|
|
{
|
|
c1;
|
|
const c1 = 0;
|
|
}
|
|
|
|
var v1;
|
|
{
|
|
v1;
|
|
const v1 = 0;
|
|
}
|
|
|
|
|
|
//// [constDeclarations-useBeforeDefinition.js]
|
|
"use strict";
|
|
{
|
|
c1;
|
|
const c1 = 0;
|
|
}
|
|
var v1;
|
|
{
|
|
v1;
|
|
const v1 = 0;
|
|
}
|