152 lines
5.0 KiB
Plaintext
152 lines
5.0 KiB
Plaintext
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
|
|
exports[`declare_export.js 1`] = `
|
|
declare export default 5;
|
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
declare export default 5;
|
|
|
|
`;
|
|
|
|
exports[`declare_export.js 2`] = `
|
|
declare export default 5;
|
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
declare export default 5
|
|
|
|
`;
|
|
|
|
exports[`declare_type.js 1`] = `
|
|
declare type A = string;
|
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
declare type A = string;
|
|
|
|
`;
|
|
|
|
exports[`declare_type.js 2`] = `
|
|
declare type A = string;
|
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
declare type A = string
|
|
|
|
`;
|
|
|
|
exports[`declare_var.js 1`] = `
|
|
declare var bool: React$PropType$Primitive<boolean>;
|
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
declare var bool: React$PropType$Primitive<boolean>;
|
|
|
|
`;
|
|
|
|
exports[`declare_var.js 2`] = `
|
|
declare var bool: React$PropType$Primitive<boolean>;
|
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
declare var bool: React$PropType$Primitive<boolean>
|
|
|
|
`;
|
|
|
|
exports[`long.js 1`] = `
|
|
export type AdamPlacementValidationSingleErrorKey =
|
|
'SOME_FANCY_TARGETS.GLOBAL_TARGET';
|
|
|
|
export type SomeReallyLongLongLongLongLongLongLongLongLongLongLongLongLongLongKey = true;
|
|
|
|
export type SomeOtherLongLongLongLongLongLongLongLongLongLongLongLongLongLongKey = null;
|
|
|
|
type SomeOtherLongLongLongLongLongLongLongLongLongLongLongLongLongLongKey = SomeReallyLongLongLongLongLongLongIdentifier;
|
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
export type AdamPlacementValidationSingleErrorKey =
|
|
"SOME_FANCY_TARGETS.GLOBAL_TARGET";
|
|
|
|
export type SomeReallyLongLongLongLongLongLongLongLongLongLongLongLongLongLongKey = true;
|
|
|
|
export type SomeOtherLongLongLongLongLongLongLongLongLongLongLongLongLongLongKey = null;
|
|
|
|
type SomeOtherLongLongLongLongLongLongLongLongLongLongLongLongLongLongKey = SomeReallyLongLongLongLongLongLongIdentifier;
|
|
|
|
`;
|
|
|
|
exports[`long.js 2`] = `
|
|
export type AdamPlacementValidationSingleErrorKey =
|
|
'SOME_FANCY_TARGETS.GLOBAL_TARGET';
|
|
|
|
export type SomeReallyLongLongLongLongLongLongLongLongLongLongLongLongLongLongKey = true;
|
|
|
|
export type SomeOtherLongLongLongLongLongLongLongLongLongLongLongLongLongLongKey = null;
|
|
|
|
type SomeOtherLongLongLongLongLongLongLongLongLongLongLongLongLongLongKey = SomeReallyLongLongLongLongLongLongIdentifier;
|
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
export type AdamPlacementValidationSingleErrorKey =
|
|
"SOME_FANCY_TARGETS.GLOBAL_TARGET"
|
|
|
|
export type SomeReallyLongLongLongLongLongLongLongLongLongLongLongLongLongLongKey = true
|
|
|
|
export type SomeOtherLongLongLongLongLongLongLongLongLongLongLongLongLongLongKey = null
|
|
|
|
type SomeOtherLongLongLongLongLongLongLongLongLongLongLongLongLongLongKey = SomeReallyLongLongLongLongLongLongIdentifier
|
|
|
|
`;
|
|
|
|
exports[`opaque.js 1`] = `
|
|
declare export opaque type Foo;
|
|
declare export opaque type Bar<T>;
|
|
declare export opaque type Baz: Foo;
|
|
declare export opaque type Foo<T>: Bar<T>;
|
|
declare export opaque type Foo<T>: Bar;
|
|
declare export opaque type Foo: Bar<T>;
|
|
opaque type ID = string;
|
|
opaque type Foo<T> = Bar<T>;
|
|
opaque type Maybe<T> = _Maybe<T, *>;
|
|
export opaque type Foo = number;
|
|
opaque type union =
|
|
| {type: "A"}
|
|
| {type: "B"};
|
|
opaque type overloads =
|
|
& ((x: string) => number)
|
|
& ((x: number) => string);
|
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
declare export opaque type Foo;
|
|
declare export opaque type Bar<T>;
|
|
declare export opaque type Baz: Foo;
|
|
declare export opaque type Foo<T>: Bar<T>;
|
|
declare export opaque type Foo<T>: Bar;
|
|
declare export opaque type Foo: Bar<T>;
|
|
opaque type ID = string;
|
|
opaque type Foo<T> = Bar<T>;
|
|
opaque type Maybe<T> = _Maybe<T, *>;
|
|
export opaque type Foo = number;
|
|
opaque type union = { type: "A" } | { type: "B" };
|
|
opaque type overloads = ((x: string) => number) & ((x: number) => string);
|
|
|
|
`;
|
|
|
|
exports[`opaque.js 2`] = `
|
|
declare export opaque type Foo;
|
|
declare export opaque type Bar<T>;
|
|
declare export opaque type Baz: Foo;
|
|
declare export opaque type Foo<T>: Bar<T>;
|
|
declare export opaque type Foo<T>: Bar;
|
|
declare export opaque type Foo: Bar<T>;
|
|
opaque type ID = string;
|
|
opaque type Foo<T> = Bar<T>;
|
|
opaque type Maybe<T> = _Maybe<T, *>;
|
|
export opaque type Foo = number;
|
|
opaque type union =
|
|
| {type: "A"}
|
|
| {type: "B"};
|
|
opaque type overloads =
|
|
& ((x: string) => number)
|
|
& ((x: number) => string);
|
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
declare export opaque type Foo
|
|
declare export opaque type Bar<T>
|
|
declare export opaque type Baz: Foo
|
|
declare export opaque type Foo<T>: Bar<T>
|
|
declare export opaque type Foo<T>: Bar
|
|
declare export opaque type Foo: Bar<T>
|
|
opaque type ID = string
|
|
opaque type Foo<T> = Bar<T>
|
|
opaque type Maybe<T> = _Maybe<T, *>
|
|
export opaque type Foo = number
|
|
opaque type union = { type: "A" } | { type: "B" }
|
|
opaque type overloads = ((x: string) => number) & ((x: number) => string)
|
|
|
|
`;
|