You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
384 B
TypeScript
21 lines
384 B
TypeScript
6 years ago
|
module SignatureHelpTest {
|
||
|
export class Calc {
|
||
|
/**
|
||
|
*
|
||
|
* An add method.
|
||
|
* It's is useful for calc.
|
||
|
* @param a A operand.
|
||
|
* It is the first operand.
|
||
|
* @param b Another operand.
|
||
|
* @returns Summation of a and b.
|
||
|
*
|
||
|
**/
|
||
|
add(a: number, b: number): number {
|
||
|
return a + b;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
var calc = new Calc();
|
||
|
calc.add(
|
||
|
}
|