TypeScript Version: 2.9.1
Search Terms:
Expected behavior:
following should work without errors:
// @ts-check
export {}
/**
* @typedef {Partial<{one:boolean} & {two:string}>} Test
*/
// @ts-check
/**
* @type {import('./types').Test}
*/
const test = {}
Actual behavior:
// @ts-check
export {}
/**
* @typedef {Partial<{one:boolean} & {two:string}>} Test
*/
// @ts-check
/**
* @type {import('./types').Test}
*/
const test = {}
exported @typedef definitions, which are using Mapped types transformations (Partial,...), will error out with cryptic error when they are imported via /** @type {import('./types).MappedTest}* to annotate a variable :

Although creating a variable which is typed via mapped type and exported as a token value works:
// @ts-check
export {}
/**
* @typedef {Partial<{one:boolean} & {two:string}>} Test
*/
/**
* @type {Test}
*/
export var Test
// @ts-check
/**
* @type {typeof import('./types').Test}
*/
const test = {}

TypeScript Version: 2.9.1
Search Terms:
Expected behavior:
following should work without errors:
Actual behavior:
exported
@typedefdefinitions, which are using Mapped types transformations (Partial,...), will error out with cryptic error when they are imported via/** @type {import('./types).MappedTest}*to annotate a variable :Although creating a variable which is typed via mapped type and exported as a token value works: