mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
10 lines
332 B
Plaintext
10 lines
332 B
Plaintext
errorOnInitializerInInterfaceProperty.ts(2,19): error TS1246: An interface property cannot have an initializer.
|
|
|
|
|
|
==== errorOnInitializerInInterfaceProperty.ts (1 errors) ====
|
|
interface Foo {
|
|
bar: number = 5;
|
|
~
|
|
!!! error TS1246: An interface property cannot have an initializer.
|
|
}
|
|
|