// @module: commonjs
// @target: es2015
// @noImplicitReferences: true
// @traceResolution: true
// @currentDirectory: /src
// @types: *

// @Filename: /node_modules/@types/foo/index.d.ts
declare module "xyz" {
    export const x: number;
}

// @Filename: /src/a.ts
import { x } from "xyz";
x;

// @Filename: /src/tsconfig.json
{}
