* Support loading "index.d.ts" using "typesVersions" without "types", "typings", or "main" * Update baseline
18 lines
292 B
TypeScript
18 lines
292 B
TypeScript
// @baseUrl: /
|
|
// @traceResolution: true
|
|
// @target: esnext
|
|
// @module: commonjs
|
|
|
|
// @filename: /a/package.json
|
|
{
|
|
"typesVersions": {
|
|
">=3.1.0-0": { "*" : ["ts3.1/*"] }
|
|
}
|
|
}
|
|
|
|
// @filename: /a/ts3.1/index.d.ts
|
|
export const a = 0;
|
|
|
|
// @filename: /b/user.ts
|
|
import { a } from "a";
|