Files
tsgo/testdata/baselines/reference/submodule/transpile/declarationSingleFileHasErrorsReported.js
2026-08-11 02:04:48 +00:00

18 lines
585 B
TypeScript

//// [declarationSingleFileHasErrorsReported.ts] ////
export const a string = "missing colon";
//// [declarationSingleFileHasErrorsReported.js] ////
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.string = exports.a = void 0;
exports.string = "missing colon";
//// [Diagnostics reported]
declarationSingleFileHasErrorsReported.ts(1,16): error TS1005: ',' expected.
==== declarationSingleFileHasErrorsReported.ts (1 errors) ====
export const a string = "missing colon";
~~~~~~
!!! error TS1005: ',' expected.