675d176cef
Fixes #8675
21 lines
213 B
TypeScript
21 lines
213 B
TypeScript
// Not OK
|
|
interface B { x; }
|
|
interface B { x?; }
|
|
|
|
// OK
|
|
class A {
|
|
public y: string;
|
|
}
|
|
|
|
interface A {
|
|
y: string;
|
|
}
|
|
|
|
// Not OK
|
|
class C {
|
|
private y: string;
|
|
}
|
|
|
|
interface C {
|
|
y: string;
|
|
}
|