f3344767dd
Fake alias resolution only applies when the import type is followed by a qualified name. Otherwise the alias is sufficiently resolved already.
12 lines
187 B
TypeScript
12 lines
187 B
TypeScript
// @noEmit: true
|
|
// @allowJs: true
|
|
// @checkJs: true
|
|
// @Filename: ex.d.ts
|
|
export var config: {}
|
|
|
|
// @Filename: test.js
|
|
/** @param {import('./ex')} a */
|
|
function demo(a) {
|
|
a.config
|
|
}
|