// @target: es2015
// @strict: true
// @lib: esnext
// @declaration: true
// @emitDeclarationOnly: true

// @filename: type.ts
export namespace Foo {
  export const sym = Symbol();
}
export type Type = { x?: { [Foo.sym]: 0 } };

// @filename: index.ts
import { type Type } from "./type";

export const foo = { ...({} as Type) };
