// @target: ES5 // @declaration: true // @removeComments: false // @module: commonjs // @Filename: declFileCallSignatures_0.ts export interface ICallSignature { /** This comment should appear for foo*/ (): string; } export interface ICallSignatureWithParameters { /** This is comment for function signature*/ (/** this is comment about a*/a: string, /** this is comment for b*/ b: number): void; } export interface ICallSignatureWithRestParameters { (a: string, ...rests: string[]): string; } export interface ICallSignatureWithOverloads { (a: string): string; (a: number): number; } export interface ICallSignatureWithTypeParameters { /** This comment should appear for foo*/ (a: T): string; } export interface ICallSignatureWithOwnTypeParametes { (a: T): string; } // @Filename: declFileCallSignatures_1.ts interface IGlobalCallSignature { /** This comment should appear for foo*/ (): string; } interface IGlobalCallSignatureWithParameters { /** This is comment for function signature*/ (/** this is comment about a*/a: string, /** this is comment for b*/ b: number): void; } interface IGlobalCallSignatureWithRestParameters { (a: string, ...rests: string[]): string; } interface IGlobalCallSignatureWithOverloads { (a: string): string; (a: number): number; } interface IGlobalCallSignatureWithTypeParameters { /** This comment should appear for foo*/ (a: T): string; } interface IGlobalCallSignatureWithOwnTypeParametes { (a: T): string; }