2017-02-22 00:59:19 +03:00
|
|
|
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
|
|
|
2018-11-25 11:21:14 +03:00
|
|
|
exports[`test23_lib.js 1`] = `
|
|
|
|
====================================options=====================================
|
|
|
|
parsers: ["flow"]
|
|
|
|
printWidth: 80
|
|
|
|
| printWidth
|
|
|
|
=====================================input======================================
|
2017-04-12 23:41:51 +03:00
|
|
|
declare class SomeLibClass { }
|
2018-11-25 11:21:14 +03:00
|
|
|
|
|
|
|
=====================================output=====================================
|
2017-01-11 18:16:38 +03:00
|
|
|
declare class SomeLibClass {}
|
2017-04-12 23:41:51 +03:00
|
|
|
|
2018-11-25 11:21:14 +03:00
|
|
|
================================================================================
|
2016-12-23 22:31:38 +03:00
|
|
|
`;
|
|
|
|
|
2018-11-25 11:21:14 +03:00
|
|
|
exports[`test25_lib.js 1`] = `
|
|
|
|
====================================options=====================================
|
|
|
|
parsers: ["flow"]
|
|
|
|
printWidth: 80
|
|
|
|
| printWidth
|
|
|
|
=====================================input======================================
|
2017-04-12 23:41:51 +03:00
|
|
|
declare class Set<T> {
|
2017-05-20 13:16:28 +03:00
|
|
|
add(x: any): Set<T>;
|
2016-12-23 22:31:38 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
declare class Row {
|
|
|
|
reduce_row(
|
|
|
|
callbackfn: (previousValue: number, currentValue: number) => number,
|
|
|
|
initialValue: void
|
|
|
|
): number;
|
|
|
|
reduce_row<U>(
|
|
|
|
callbackfn: (previousValue: U, currentValue: number) => U,
|
|
|
|
initialValue: U
|
|
|
|
): U;
|
|
|
|
}
|
|
|
|
|
|
|
|
declare class Rows {
|
|
|
|
reduce_rows<X>(
|
|
|
|
callbackfn: (previousValue: X, currentValue: Row) => X,
|
|
|
|
initialValue: X
|
|
|
|
): X;
|
|
|
|
}
|
2018-11-25 11:21:14 +03:00
|
|
|
|
|
|
|
=====================================output=====================================
|
2017-01-30 20:08:55 +03:00
|
|
|
declare class Set<T> {
|
2017-09-25 14:45:40 +03:00
|
|
|
add(x: any): Set<T>;
|
2017-01-30 20:08:55 +03:00
|
|
|
}
|
2017-01-10 05:49:06 +03:00
|
|
|
|
2016-12-27 21:29:31 +03:00
|
|
|
declare class Row {
|
2017-01-05 00:52:49 +03:00
|
|
|
reduce_row(
|
|
|
|
callbackfn: (previousValue: number, currentValue: number) => number,
|
|
|
|
initialValue: void
|
2017-09-25 14:45:40 +03:00
|
|
|
): number;
|
2017-01-05 00:52:49 +03:00
|
|
|
reduce_row<U>(
|
|
|
|
callbackfn: (previousValue: U, currentValue: number) => U,
|
|
|
|
initialValue: U
|
2017-09-25 14:45:40 +03:00
|
|
|
): U;
|
2016-12-27 21:29:31 +03:00
|
|
|
}
|
2017-01-10 05:49:06 +03:00
|
|
|
|
2016-12-27 21:29:31 +03:00
|
|
|
declare class Rows {
|
2017-01-05 00:52:49 +03:00
|
|
|
reduce_rows<X>(
|
|
|
|
callbackfn: (previousValue: X, currentValue: Row) => X,
|
|
|
|
initialValue: X
|
2017-09-25 14:45:40 +03:00
|
|
|
): X;
|
2017-01-11 18:16:38 +03:00
|
|
|
}
|
2017-04-12 23:41:51 +03:00
|
|
|
|
2018-11-25 11:21:14 +03:00
|
|
|
================================================================================
|
2016-12-23 22:31:38 +03:00
|
|
|
`;
|
|
|
|
|
2018-11-25 11:21:14 +03:00
|
|
|
exports[`test32_lib.js 1`] = `
|
|
|
|
====================================options=====================================
|
|
|
|
parsers: ["flow"]
|
|
|
|
printWidth: 80
|
|
|
|
| printWidth
|
|
|
|
=====================================input======================================
|
2017-04-12 23:41:51 +03:00
|
|
|
type Indirect<T> = Array<T>;
|
2018-11-25 11:21:14 +03:00
|
|
|
|
|
|
|
=====================================output=====================================
|
2017-01-11 18:16:38 +03:00
|
|
|
type Indirect<T> = Array<T>;
|
2017-04-12 23:41:51 +03:00
|
|
|
|
2018-11-25 11:21:14 +03:00
|
|
|
================================================================================
|
2016-12-23 22:31:38 +03:00
|
|
|
`;
|