// @declaration: true // @filename: this.ts import * as me from "./this"; export interface Things
{ p: P; t: T; } export function make
(x: { new (): CTor & {props: P} }): Things
{ return null as any; } export interface Props { } export default class MyComponent { props: Props; } export namespace Something { let MyComponent = 2; // Shadow declaration, so symbol is only usable via the self-import export const create = make(me.default); }