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