message: Test interface referring to others
diff: @@ -183,6 +183,35 @@ let someData: Data;`,
  let someData: Data;`,
  otherFile: `export interface Data {
  value: string;
  +}`
  + }
  + },
  + {
  + description: "an interface referring to others",
  + setup: {
  + currentFile: `import { Value } from "../some-file";
  +
  +interface [cursor]Data {
  + response: {
  + value: Value;
  + };
  +}
  +
  +let someData: Data;`,
  + otherFile: "",
  + path: new RelativePath("./other-file.ts")
  + },
  + expected: {
  + currentFile: `import { Data } from "./other-file";
  +import { Value } from "../some-file";
  +
  +let someData: Data;`,
  + otherFile: `import { Value } from "../some-file";
  +
  +export interface Data {
  + response: {
  + value: Value;
  + };
  }`
  }
  }
  @@ -246,6 +275,14 @@ function referencedHere() {}`
  description: "a type alias with references defined in the same file",
  code: `type [cursor]SomeType = OtherType | string;
  type OtherType = string;`
  + },
  + {
  + description: "an interface with references defined in the same file",
  + code: `interface [cursor]Data {
  + value: Value;
  +}
  +
  +type Value = string;`
  }
  ],
  async ({ code }) => {
  