2017-02-22 00:59:19 +03:00
|
|
|
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
|
|
|
2017-03-22 03:38:28 +03:00
|
|
|
exports[`arrow.js 1`] = `
|
2017-04-12 23:41:51 +03:00
|
|
|
// Error
|
2017-02-04 00:14:40 +03:00
|
|
|
const beep = (data/*: Object*/) => {}
|
|
|
|
|
|
|
|
// OK
|
|
|
|
const beep = (data/*: Object*/, secondData/*: Object*/) => {}
|
2017-12-12 06:26:41 +03:00
|
|
|
|
|
|
|
const run = (cmd /*: string */) /*: Promise<void> */ => {}
|
2017-02-04 00:14:40 +03:00
|
|
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
|
|
// Error
|
2017-03-22 03:38:28 +03:00
|
|
|
const beep = (data: Object) => {};
|
2017-02-04 00:14:40 +03:00
|
|
|
|
|
|
|
// OK
|
2017-03-22 03:38:28 +03:00
|
|
|
const beep = (data: Object, secondData: Object) => {};
|
2017-04-12 23:41:51 +03:00
|
|
|
|
2017-12-12 06:26:41 +03:00
|
|
|
const run = (cmd: string): Promise<void> => {};
|
|
|
|
|
2017-02-04 00:14:40 +03:00
|
|
|
`;
|
|
|
|
|
2017-03-22 03:38:28 +03:00
|
|
|
exports[`arrow.js 2`] = `
|
2017-04-12 23:41:51 +03:00
|
|
|
// Error
|
2017-02-04 00:14:40 +03:00
|
|
|
const beep = (data/*: Object*/) => {}
|
|
|
|
|
|
|
|
// OK
|
|
|
|
const beep = (data/*: Object*/, secondData/*: Object*/) => {}
|
2017-12-12 06:26:41 +03:00
|
|
|
|
|
|
|
const run = (cmd /*: string */) /*: Promise<void> */ => {}
|
2017-02-04 00:14:40 +03:00
|
|
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
|
|
// Error
|
2017-03-22 03:38:28 +03:00
|
|
|
const beep = (data /*: Object*/) => {};
|
2017-02-04 00:14:40 +03:00
|
|
|
|
|
|
|
// OK
|
2017-03-22 03:38:28 +03:00
|
|
|
const beep = (data /*: Object*/, secondData /*: Object*/) => {};
|
2017-04-12 23:41:51 +03:00
|
|
|
|
2017-12-12 06:26:41 +03:00
|
|
|
const run = (cmd /*: string */) /*: Promise<void> */ => {};
|
|
|
|
|
2017-02-04 00:14:40 +03:00
|
|
|
`;
|
2017-04-13 00:13:34 +03:00
|
|
|
|
|
|
|
exports[`object_type_annotation.js 1`] = `
|
|
|
|
type Props = // (DispatchProps & StateProps); WHY DON'T YOU WORK FLOW!!!!!!!!!
|
|
|
|
{
|
|
|
|
isPlaying: boolean,
|
|
|
|
};
|
|
|
|
|
|
|
|
type Props = { // (DispatchProps & StateProps); WHY DON'T YOU WORK FLOW!!!!!!!!!
|
|
|
|
isPlaying: boolean
|
|
|
|
};
|
|
|
|
|
|
|
|
type Props = {
|
|
|
|
// (DispatchProps & StateProps); WHY DON'T YOU WORK FLOW!!!!!!!!!
|
|
|
|
isPlaying: boolean
|
|
|
|
};
|
|
|
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
|
|
// (DispatchProps & StateProps); WHY DON'T YOU WORK FLOW!!!!!!!!!
|
|
|
|
type Props = {
|
|
|
|
isPlaying: boolean
|
|
|
|
};
|
|
|
|
|
|
|
|
type Props = {
|
|
|
|
// (DispatchProps & StateProps); WHY DON'T YOU WORK FLOW!!!!!!!!!
|
|
|
|
isPlaying: boolean
|
|
|
|
};
|
|
|
|
|
|
|
|
type Props = {
|
|
|
|
// (DispatchProps & StateProps); WHY DON'T YOU WORK FLOW!!!!!!!!!
|
|
|
|
isPlaying: boolean
|
|
|
|
};
|
|
|
|
|
|
|
|
`;
|
|
|
|
|
|
|
|
exports[`object_type_annotation.js 2`] = `
|
|
|
|
type Props = // (DispatchProps & StateProps); WHY DON'T YOU WORK FLOW!!!!!!!!!
|
|
|
|
{
|
|
|
|
isPlaying: boolean,
|
|
|
|
};
|
|
|
|
|
|
|
|
type Props = { // (DispatchProps & StateProps); WHY DON'T YOU WORK FLOW!!!!!!!!!
|
|
|
|
isPlaying: boolean
|
|
|
|
};
|
|
|
|
|
|
|
|
type Props = {
|
|
|
|
// (DispatchProps & StateProps); WHY DON'T YOU WORK FLOW!!!!!!!!!
|
|
|
|
isPlaying: boolean
|
|
|
|
};
|
|
|
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
|
|
// (DispatchProps & StateProps); WHY DON'T YOU WORK FLOW!!!!!!!!!
|
|
|
|
type Props = {
|
|
|
|
isPlaying: boolean
|
|
|
|
};
|
|
|
|
|
|
|
|
type Props = {
|
|
|
|
// (DispatchProps & StateProps); WHY DON'T YOU WORK FLOW!!!!!!!!!
|
|
|
|
isPlaying: boolean
|
|
|
|
};
|
|
|
|
|
|
|
|
type Props = {
|
|
|
|
// (DispatchProps & StateProps); WHY DON'T YOU WORK FLOW!!!!!!!!!
|
|
|
|
isPlaying: boolean
|
|
|
|
};
|
|
|
|
|
|
|
|
`;
|