11 lines
239 B
TypeScript
11 lines
239 B
TypeScript
|
interface InterfaceWithMultipleTypars<A, A> { // should error
|
||
|
bar(): void;
|
||
|
}
|
||
|
|
||
|
interface InterfaceWithSomeTypars<B> { // should not error
|
||
|
bar(): void;
|
||
|
}
|
||
|
|
||
|
interface InterfaceWithSomeTypars<C, C> { // should error
|
||
|
bar2(): void;
|
||
|
}
|