Update baselines
This commit is contained in:
parent
64fc495234
commit
e962e4abfb
|
@ -12,4 +12,4 @@ verify.fileAfterApplyingRefactorAtMarker('1',
|
|||
* @param {?} x
|
||||
* @returns {number}
|
||||
*/
|
||||
var f = (x: any): number => x`, 'Annotate with types from JSDoc', 'annotate');
|
||||
var f = (x: any): number => x`, 'Annotate with type from JSDoc', 'annotate');
|
||||
|
|
|
@ -12,4 +12,4 @@ verify.fileAfterApplyingRefactorAtMarker('2',
|
|||
* @param {?} x
|
||||
* @returns {number}
|
||||
*/
|
||||
var f = (x: any): number => x`, 'Annotate with types from JSDoc', 'annotate');
|
||||
var f = (x: any): number => x`, 'Annotate with type from JSDoc', 'annotate');
|
||||
|
|
|
@ -15,4 +15,4 @@ verify.fileAfterApplyingRefactorAtMarker('1',
|
|||
*/
|
||||
m(x): any[] {
|
||||
}
|
||||
}`, 'Annotate with types from JSDoc', 'annotate');
|
||||
}`, 'Annotate with type from JSDoc', 'annotate');
|
||||
|
|
|
@ -8,4 +8,4 @@ verify.fileAfterApplyingRefactorAtMarker('1',
|
|||
`class C {
|
||||
/** @return {number} */
|
||||
get c(): number { return 12; }
|
||||
}`, 'Annotate with types from JSDoc', 'annotate');
|
||||
}`, 'Annotate with type from JSDoc', 'annotate');
|
||||
|
|
|
@ -8,4 +8,4 @@ verify.fileAfterApplyingRefactorAtMarker('1',
|
|||
`/** @return {number} */
|
||||
function f(): number {
|
||||
return 12;
|
||||
}`, 'Annotate with types from JSDoc', 'annotate');
|
||||
}`, 'Annotate with type from JSDoc', 'annotate');
|
||||
|
|
|
@ -27,4 +27,4 @@ verify.fileAfterApplyingRefactorAtMarker('9',
|
|||
* @param {promise<String>} zeta
|
||||
*/
|
||||
function f(x: boolean, y: string, z: number, alpha: object, beta: Date, gamma: Promise<any>, delta: Array<any>, epsilon: Array<number>, zeta: Promise<string>) {
|
||||
}`, 'Annotate with types from JSDoc', 'annotate');
|
||||
}`, 'Annotate with type from JSDoc', 'annotate');
|
||||
|
|
|
@ -14,5 +14,5 @@ verify.fileAfterApplyingRefactorAtMarker('1',
|
|||
*/
|
||||
constructor(x: number) {
|
||||
}
|
||||
}`, 'Annotate with types from JSDoc', 'annotate');
|
||||
}`, 'Annotate with type from JSDoc', 'annotate');
|
||||
|
||||
|
|
|
@ -8,4 +8,4 @@ verify.fileAfterApplyingRefactorAtMarker('1',
|
|||
`class C {
|
||||
/** @param {number} value */
|
||||
set c(value: number) { return 12; }
|
||||
}`, 'Annotate with types from JSDoc', 'annotate');
|
||||
}`, 'Annotate with type from JSDoc', 'annotate');
|
||||
|
|
|
@ -16,4 +16,4 @@ verify.fileAfterApplyingRefactorAtMarker('1',
|
|||
* @param {T} b
|
||||
*/
|
||||
function f<T>(a: number, b: T) {
|
||||
}`, 'Annotate with types from JSDoc', 'annotate');
|
||||
}`, 'Annotate with type from JSDoc', 'annotate');
|
||||
|
|
|
@ -14,4 +14,4 @@ verify.fileAfterApplyingRefactorAtMarker('1',
|
|||
* @param {T} b
|
||||
*/
|
||||
function f<T>(a: number, b: T) {
|
||||
}`, 'Annotate with types from JSDoc', 'annotate');
|
||||
}`, 'Annotate with type from JSDoc', 'annotate');
|
||||
|
|
|
@ -24,5 +24,5 @@ function f(x: number, y: {
|
|||
a: string;
|
||||
b: Date;
|
||||
}, z: string, alpha, beta: any) {
|
||||
}`, 'Annotate with types from JSDoc', 'annotate');
|
||||
}`, 'Annotate with type from JSDoc', 'annotate');
|
||||
|
||||
|
|
|
@ -26,4 +26,4 @@ verify.fileAfterApplyingRefactorAtMarker('5',
|
|||
function f(x: any, y: any, z: number | undefined, alpha: number[], beta: (this: {
|
||||
a: string;
|
||||
}, arg1: string, arg2: number) => boolean, gamma: number | null, delta: number) {
|
||||
}`, 'Annotate with types from JSDoc', 'annotate');
|
||||
}`, 'Annotate with type from JSDoc', 'annotate');
|
||||
|
|
|
@ -14,4 +14,4 @@ verify.fileAfterApplyingRefactorAtMarker('1',
|
|||
* @returns {number}
|
||||
*/
|
||||
function f(x: number): number {
|
||||
}`, 'Annotate with types from JSDoc', 'annotate');
|
||||
}`, 'Annotate with type from JSDoc', 'annotate');
|
||||
|
|
|
@ -14,4 +14,4 @@ verify.fileAfterApplyingRefactorAtMarker('1',
|
|||
* @returns {number}
|
||||
*/
|
||||
var f = function(x: number): number {
|
||||
}`, 'Annotate with types from JSDoc', 'annotate');
|
||||
}`, 'Annotate with type from JSDoc', 'annotate');
|
||||
|
|
|
@ -12,4 +12,4 @@ verify.fileAfterApplyingRefactorAtMarker('1',
|
|||
* @param {?} x
|
||||
* @returns {number}
|
||||
*/
|
||||
var f = (x: any): number => x`, 'Annotate with types from JSDoc', 'annotate');
|
||||
var f = (x: any): number => x`, 'Annotate with type from JSDoc', 'annotate');
|
||||
|
|
Loading…
Reference in a new issue