Remove old expected.{js,json} files (#7187)

This commit is contained in:
Nicolò Ribaudo
2018-01-09 20:10:30 +01:00
committed by Brian Ng
parent 9e384f3915
commit 8659e1a88c
1597 changed files with 0 additions and 20188 deletions

View File

@@ -1,3 +0,0 @@
const x = (foo
/*: string*/
) => {};

View File

@@ -1,5 +0,0 @@
class X {
/*:: a: number*/
/*:: b: ?string*/
}

View File

@@ -1,8 +0,0 @@
class X {
constructor() {
this.a = 2;
this.b = '3';
this.c = void 0;
}
}

View File

@@ -1,8 +0,0 @@
class X {
foo = 2;
bar
/*: number*/
= 3;
/*:: baz: ?string*/
}

View File

@@ -1,31 +0,0 @@
/*:: declare var foo*/
/*:: declare var foo;*/
/*:: declare function foo(): void*/
/*:: declare function foo(): void;*/
/*:: declare function foo<T>(): void;*/
/*:: declare function foo(x: number, y: string): void;*/
/*:: declare class A {}*/
/*:: declare class A<T> extends B<T> { x: number }*/
/*:: declare class A { static foo(): number, static x : string }*/
/*:: declare class A { static [ indexer: number]: string }*/
/*:: declare class A { static () : number }*/
/*:: declare class A mixins B<T>, C {}*/
/*:: declare type A = string*/
/*:: declare type T<U> = { [k:string]: U }*/
/*:: declare interface I { foo: string }*/
/*:: declare interface I<T> { foo: T }*/

View File

@@ -1,8 +0,0 @@
class C
/*:: <+T, -U>*/
{}
function f
/*:: <+T, -U>*/
() {}
/*:: type T<+T, -U> = {};*/

View File

@@ -1,23 +0,0 @@
function foo(numVal
/*:: ?*/
) {}
function foo(numVal
/*:: ?*/
= 2) {}
function foo(numVal
/*: number*/
) {}
function foo(numVal
/*:: ?: number*/
) {}
function foo(numVal
/*: number*/
= 2) {}
function foo(numVal
/*:: ?: number*/
= 2) {}

View File

@@ -1,13 +0,0 @@
/*:: export type GraphQLFormattedError = number;*/
/*:: export type GraphQLFormattedError = {
message: string,
locations?: Array<{
line: number,
column: number
}>
};*/
/*:: export interface foo { p: number }*/
/*:: export interface foo<T> { p: T }*/

View File

@@ -1,4 +0,0 @@
/*:: export type { A } from './types';*/
import lib from 'library';
export { foo } from 'foo';
/*:: export type { B, C } from './types';*/

View File

@@ -1,5 +0,0 @@
/*:: import type A, { B, C } from './types';*/
import lib from 'library';
/*:: import type D from './types';*/
/*:: import typeof E, { F, G } from './types';*/

View File

@@ -1,10 +0,0 @@
// @flow
var obj = {
method: function (a
/*: string*/
)
/*: number*/
{
return 5 + 5;
}
};

View File

@@ -1,16 +0,0 @@
function a() {}
/*:: opaque type A = number;*/
/*:: opaque type B = {
name: string;
};*/
/*:: opaque type union =
| {type: "A"}
| {type: "B"}
;*/
/*:: opaque type overloads =
& ((x: string) => number)
& ((x: number) => string)
;*/

View File

@@ -1,3 +0,0 @@
function multiply(num
/*:: ?: number*/
) {}

View File

@@ -1,7 +0,0 @@
function foo(bar
/*:: ?*/
) {}
function foo2(bar
/*:: ?: string*/
) {}

View File

@@ -1,18 +0,0 @@
// @flow
var C =
/*#__PURE__*/
function () {
function C() {}
var _proto = C.prototype;
_proto.m = function m(x
/*: number*/
)
/*: string*/
{
return 'a';
};
return C;
}();

View File

@@ -1,20 +0,0 @@
// @flow
var C =
/*#__PURE__*/
function () {
function C() {
babelHelpers.classCallCheck(this, C);
}
babelHelpers.createClass(C, [{
key: "m",
value: function m(x
/*: number*/
)
/*: string*/
{
return 'a';
}
}]);
return C;
}();

View File

@@ -1,8 +0,0 @@
/*:: type T = /*test*-/ number;*/
/*:: type T2 = /* *-ESCAPED/ *-/ number;*/
/*:: type CustomType = {
/** This is some documentation. *-/
name: string;
};*/

View File

@@ -1,16 +0,0 @@
function a() {}
/*:: type A = number;*/
/*:: type B = {
name: string;
};*/
/*:: type union =
| {type: "A"}
| {type: "B"}
;*/
/*:: type overloads =
& ((x: string) => number)
& ((x: number) => string)
;*/

View File

@@ -1,8 +0,0 @@
var a = (y
/*: any*/
);
var a = ((y
/*: foo*/
)
/*: any*/
);

View File

@@ -1,5 +0,0 @@
function foo(x
/*: number*/
)
/*: string*/
{}