12 lines
188 B
TypeScript
12 lines
188 B
TypeScript
|
// @noEmit: true
|
||
|
// @allowJs: true
|
||
|
// @checkJs: true
|
||
|
// @Filename: typeFromPropertyAssignment40.js
|
||
|
function Outer() {
|
||
|
var self = this
|
||
|
self.y = 2
|
||
|
}
|
||
|
/** @type {Outer} */
|
||
|
var ok
|
||
|
ok.y
|