mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
16 lines
251 B
TypeScript
16 lines
251 B
TypeScript
//// [tests/cases/compiler/constructorArgsErrors5.ts] ////
|
|
|
|
//// [constructorArgsErrors5.ts]
|
|
class foo {
|
|
constructor (export a: number) {
|
|
}
|
|
}
|
|
|
|
|
|
//// [constructorArgsErrors5.js]
|
|
"use strict";
|
|
class foo {
|
|
constructor(a) {
|
|
}
|
|
}
|