TypeScript/tests/cases/fourslash/quickInfoForContextuallyTypedArrowFunctionInSuperCall.ts

21 lines
564 B
TypeScript
Raw Normal View History

2015-03-02 23:41:44 +01:00
/// <reference path='fourslash.ts'/>
////class A<T1, T2> {
//// constructor(private map: (value: T1) => T2) {
////
//// }
////}
////
////class B extends A<number, string> {
//// constructor() { super(va/*1*/lue => String(va/*2*/lue.toExpone/*3*/ntial())); }
////}
2016-09-09 18:02:55 +02:00
verify.quickInfos({
1: "(parameter) value: number",
2: "(parameter) value: number",
3: [
"(method) Number.toExponential(fractionDigits?: number): string",
"Returns a string containing a number represented in exponential notation."
]
});