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