TypeScript/tests/baselines/reference/moduleMemberWithoutTypeAnnotation2.types

38 lines
1.6 KiB
Plaintext
Raw Normal View History

2014-08-15 23:33:16 +02:00
=== tests/cases/compiler/moduleMemberWithoutTypeAnnotation2.ts ===
module TypeScript {
2015-04-13 23:01:57 +02:00
>TypeScript : typeof TypeScript, Symbol(TypeScript, Decl(moduleMemberWithoutTypeAnnotation2.ts, 0, 0))
2014-08-15 23:33:16 +02:00
export module CompilerDiagnostics {
2015-04-13 23:01:57 +02:00
>CompilerDiagnostics : typeof CompilerDiagnostics, Symbol(CompilerDiagnostics, Decl(moduleMemberWithoutTypeAnnotation2.ts, 0, 19))
2014-08-15 23:33:16 +02:00
export interface IDiagnosticWriter {
2015-04-13 23:01:57 +02:00
>IDiagnosticWriter : IDiagnosticWriter, Symbol(IDiagnosticWriter, Decl(moduleMemberWithoutTypeAnnotation2.ts, 1, 39))
2014-08-15 23:33:16 +02:00
Alert(output: string): void;
2015-04-13 23:01:57 +02:00
>Alert : (output: string) => void, Symbol(Alert, Decl(moduleMemberWithoutTypeAnnotation2.ts, 3, 44))
>output : string, Symbol(output, Decl(moduleMemberWithoutTypeAnnotation2.ts, 4, 18))
2014-08-15 23:33:16 +02:00
}
export var diagnosticWriter = null;
2015-04-13 23:01:57 +02:00
>diagnosticWriter : any, Symbol(diagnosticWriter, Decl(moduleMemberWithoutTypeAnnotation2.ts, 7, 18))
2015-04-13 21:36:11 +02:00
>null : null
2014-08-15 23:33:16 +02:00
export function Alert(output: string) {
2015-04-13 23:01:57 +02:00
>Alert : (output: string) => void, Symbol(Alert, Decl(moduleMemberWithoutTypeAnnotation2.ts, 7, 43))
>output : string, Symbol(output, Decl(moduleMemberWithoutTypeAnnotation2.ts, 9, 30))
2014-08-15 23:33:16 +02:00
if (diagnosticWriter) {
2015-04-13 23:01:57 +02:00
>diagnosticWriter : any, Symbol(diagnosticWriter, Decl(moduleMemberWithoutTypeAnnotation2.ts, 7, 18))
2014-08-15 23:33:16 +02:00
diagnosticWriter.Alert(output);
>diagnosticWriter.Alert(output) : any
>diagnosticWriter.Alert : any
2015-04-13 23:01:57 +02:00
>diagnosticWriter : any, Symbol(diagnosticWriter, Decl(moduleMemberWithoutTypeAnnotation2.ts, 7, 18))
2014-08-15 23:33:16 +02:00
>Alert : any
2015-04-13 23:01:57 +02:00
>output : string, Symbol(output, Decl(moduleMemberWithoutTypeAnnotation2.ts, 9, 30))
2014-08-15 23:33:16 +02:00
}
}
}
}