prettier/tests/flow/reflection/type.js

9 lines
141 B
JavaScript

declare var a: number;
var b: typeof a = "...";
var c: typeof a = "...";
type T = number;
var x:T = "...";
// what about recursive unions?