b14cf4ef9a
* Still misses incremental additions to the prototype. * Not tested with {} or class initalizers. * Code needs a cleanup pass.
14 lines
306 B
TypeScript
14 lines
306 B
TypeScript
// @noEmit: true
|
|
// @allowJs: true
|
|
// @checkJs: true
|
|
// @target: es6
|
|
// @Filename: module.js
|
|
var Outer = function(element, config) {};
|
|
// @Filename: usage.js
|
|
/** @constructor */
|
|
Outer.Pos = function (line, ch) {};
|
|
/** @type {number} */
|
|
Outer.Pos.prototype.line;
|
|
var pos = new Outer.Pos(1, 'x');
|
|
pos.line;
|
|
|