772bee5e84
* Property assignment uses parent type annotation First draft, will write full explanation later. Also makes sure that jsdoc is ignored in TS. It was not before. * Update baselines
18 lines
458 B
TypeScript
18 lines
458 B
TypeScript
// @allowJs: true
|
|
// @checkJs: true
|
|
// @noEmit: true
|
|
// @Filename: propertyAssignmentUseParentType2.js
|
|
|
|
/** @type {{ (): boolean; nuo: 789 }} */
|
|
export const inlined = () => true
|
|
inlined.nuo = 789
|
|
|
|
/** @type {{ (): boolean; nuo: 789 }} */
|
|
export const duplicated = () => true
|
|
/** @type {789} */
|
|
duplicated.nuo = 789
|
|
|
|
/** @type {{ (): boolean; nuo: 789 }} */
|
|
export const conflictingDuplicated = () => true
|
|
/** @type {1000} */
|
|
conflictingDuplicated.nuo = 789
|