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
13 lines
304 B
TypeScript
13 lines
304 B
TypeScript
interface N {
|
|
(): boolean
|
|
num: 123;
|
|
}
|
|
export const interfaced: N = () => true;
|
|
interfaced.num = 123;
|
|
|
|
export const inlined: { (): boolean; nun: 456 } = () => true;
|
|
inlined.nun = 456;
|
|
|
|
export const ignoreJsdoc = () => true;
|
|
/** @type {string} make sure to ignore jsdoc! */
|
|
ignoreJsdoc.extra = 111
|