33 lines
1.6 KiB
Plaintext
33 lines
1.6 KiB
Plaintext
=== tests/cases/compiler/cloduleTest1.ts ===
|
|
declare function $(selector: string): $;
|
|
>$ : Symbol($, Decl(cloduleTest1.ts, 0, 0), Decl(cloduleTest1.ts, 0, 42), Decl(cloduleTest1.ts, 3, 3))
|
|
>selector : Symbol(selector, Decl(cloduleTest1.ts, 0, 21))
|
|
>$ : Symbol($, Decl(cloduleTest1.ts, 0, 0), Decl(cloduleTest1.ts, 0, 42), Decl(cloduleTest1.ts, 3, 3))
|
|
|
|
interface $ {
|
|
>$ : Symbol($, Decl(cloduleTest1.ts, 0, 0), Decl(cloduleTest1.ts, 0, 42), Decl(cloduleTest1.ts, 3, 3))
|
|
|
|
addClass(className: string): $;
|
|
>addClass : Symbol($.addClass, Decl(cloduleTest1.ts, 1, 15))
|
|
>className : Symbol(className, Decl(cloduleTest1.ts, 2, 15))
|
|
>$ : Symbol($, Decl(cloduleTest1.ts, 0, 0), Decl(cloduleTest1.ts, 0, 42), Decl(cloduleTest1.ts, 3, 3))
|
|
}
|
|
module $ {
|
|
>$ : Symbol($, Decl(cloduleTest1.ts, 0, 0), Decl(cloduleTest1.ts, 0, 42), Decl(cloduleTest1.ts, 3, 3))
|
|
|
|
export interface AjaxSettings {
|
|
>AjaxSettings : Symbol(AjaxSettings, Decl(cloduleTest1.ts, 4, 12))
|
|
}
|
|
export function ajax(options: AjaxSettings) { }
|
|
>ajax : Symbol(ajax, Decl(cloduleTest1.ts, 6, 5))
|
|
>options : Symbol(options, Decl(cloduleTest1.ts, 7, 25))
|
|
>AjaxSettings : Symbol(AjaxSettings, Decl(cloduleTest1.ts, 4, 12))
|
|
}
|
|
var it: $ = $('.foo').addClass('bar');
|
|
>it : Symbol(it, Decl(cloduleTest1.ts, 9, 5))
|
|
>$ : Symbol($, Decl(cloduleTest1.ts, 0, 0), Decl(cloduleTest1.ts, 0, 42), Decl(cloduleTest1.ts, 3, 3))
|
|
>$('.foo').addClass : Symbol($.addClass, Decl(cloduleTest1.ts, 1, 15))
|
|
>$ : Symbol($, Decl(cloduleTest1.ts, 0, 0), Decl(cloduleTest1.ts, 0, 42), Decl(cloduleTest1.ts, 3, 3))
|
|
>addClass : Symbol($.addClass, Decl(cloduleTest1.ts, 1, 15))
|
|
|