36 lines
804 B
Plaintext
36 lines
804 B
Plaintext
=== tests/cases/compiler/exportEqualsOfModule.ts ===
|
|
declare module '~popsicle/dist/request' {
|
|
export class Request {}
|
|
>Request : Request
|
|
}
|
|
|
|
declare module '~popsicle/dist/common' {
|
|
import { Request } from '~popsicle/dist/request';
|
|
>Request : typeof Request
|
|
|
|
export { Request };
|
|
>Request : typeof Request
|
|
}
|
|
|
|
declare module 'popsicle' {
|
|
import alias = require('~popsicle/dist/common');
|
|
>alias : typeof alias
|
|
|
|
export = alias;
|
|
>alias : typeof alias
|
|
}
|
|
|
|
declare module 'popsicle-proxy-agent' {
|
|
import { Request } from 'popsicle';
|
|
>Request : typeof Request
|
|
|
|
function proxy(): (request: Request) => any;
|
|
>proxy : () => (request: Request) => any
|
|
>request : Request
|
|
>Request : Request
|
|
|
|
export = proxy;
|
|
>proxy : () => (request: Request) => any
|
|
}
|
|
|