30 lines
807 B
Plaintext
30 lines
807 B
Plaintext
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
|
|
exports[`type.js 1`] = `
|
|
====================================options=====================================
|
|
parsers: ["flow"]
|
|
printWidth: 80
|
|
| printWidth
|
|
=====================================input======================================
|
|
declare var a: number;
|
|
var b: typeof a = "...";
|
|
var c: typeof a = "...";
|
|
|
|
type T = number;
|
|
var x:T = "...";
|
|
|
|
// what about recursive unions?
|
|
|
|
=====================================output=====================================
|
|
declare var a: number;
|
|
var b: typeof a = "...";
|
|
var c: typeof a = "...";
|
|
|
|
type T = number;
|
|
var x: T = "...";
|
|
|
|
// what about recursive unions?
|
|
|
|
================================================================================
|
|
`;
|