mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
25 lines
379 B
TypeScript
25 lines
379 B
TypeScript
//// [declarationsSimple.ts] ////
|
|
export const c: number = 1;
|
|
|
|
export interface A {
|
|
x: number;
|
|
}
|
|
|
|
let expr: { x: number; };
|
|
|
|
expr = {
|
|
x: 12,
|
|
}
|
|
|
|
export default expr;
|
|
//// [declarationsSimple.js] ////
|
|
"use strict";
|
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
exports.c = void 0;
|
|
exports.c = 1;
|
|
let expr;
|
|
expr = {
|
|
x: 12,
|
|
};
|
|
exports.default = expr;
|