prettier/tests/esproposal_export_star_as.e.../dest.js

10 lines
203 B
JavaScript

// @flow
import {source} from "./test";
var a: number = source.num;
var b: string = source.num; // Error: num ~> string
var c: string = source.str;
var d: number = source.str; // Error: num ~> string