7 lines
142 B
JavaScript
7 lines
142 B
JavaScript
![]() |
interface Interface {
|
||
|
m(): void;
|
||
|
}
|
||
|
import type { ObjectType } from './test';
|
||
|
|
||
|
function subtypeCheck(x: Interface): ObjectType { return x; }
|