TypeScript/tests/cases/compiler/errorOnInitializerInInterfaceProperty.ts

4 lines
42 B
TypeScript

interface Foo {
bar: number = 5;
}