mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
11 lines
339 B
Plaintext
11 lines
339 B
Plaintext
constructorArgsErrors2.ts(2,25): error TS1090: 'static' modifier cannot appear on a parameter.
|
|
|
|
|
|
==== constructorArgsErrors2.ts (1 errors) ====
|
|
class foo {
|
|
constructor (public static a: number) {
|
|
~~~~~~
|
|
!!! error TS1090: 'static' modifier cannot appear on a parameter.
|
|
}
|
|
}
|
|
|