/third_party/typescript/tests/baselines/reference/ |
D | typeFromPropertyAssignment10_1.types | 2 var Outer = Outer ?? {}; 3 >Outer : typeof Outer 4 >Outer ?? {} : typeof Outer | {} 5 >Outer : typeof Outer 8 Outer.app = Outer.app ?? {}; 9 >Outer.app = Outer.app ?? {} : typeof Outer.app 10 >Outer.app : typeof Outer.app 11 >Outer : typeof Outer 12 >app : typeof Outer.app 13 >Outer.app ?? {} : {} [all …]
|
D | typeFromPropertyAssignment10.types | 2 var Outer = Outer || {}; 3 >Outer : typeof Outer 4 >Outer || {} : typeof Outer | {} 5 >Outer : typeof Outer 8 Outer.app = Outer.app || {}; 9 >Outer.app = Outer.app || {} : typeof Outer.app 10 >Outer.app : typeof Outer.app 11 >Outer : typeof Outer 12 >app : typeof Outer.app 13 >Outer.app || {} : {} [all …]
|
D | typeFromPropertyAssignment10_1.symbols | 2 var Outer = Outer ?? {}; 3 >Outer : Symbol(Outer, Decl(module.js, 0, 3), Decl(module.js, 0, 24), Decl(someview.js, 0, 0), Decl… 4 >Outer : Symbol(Outer, Decl(module.js, 0, 3), Decl(module.js, 0, 24), Decl(someview.js, 0, 0), Decl… 6 Outer.app = Outer.app ?? {}; 7 >Outer.app : Symbol(Outer.app, Decl(module.js, 0, 24), Decl(someview.js, 0, 6), Decl(someview.js, 6… 8 >Outer : Symbol(Outer, Decl(module.js, 0, 3), Decl(module.js, 0, 24), Decl(someview.js, 0, 0), Decl… 9 >app : Symbol(Outer.app, Decl(module.js, 0, 24), Decl(someview.js, 0, 6), Decl(someview.js, 6, 6), … 10 >Outer.app : Symbol(Outer.app, Decl(module.js, 0, 24), Decl(someview.js, 0, 6), Decl(someview.js, 6… 11 >Outer : Symbol(Outer, Decl(module.js, 0, 3), Decl(module.js, 0, 24), Decl(someview.js, 0, 0), Decl… 12 >app : Symbol(Outer.app, Decl(module.js, 0, 24), Decl(someview.js, 0, 6), Decl(someview.js, 6, 6), … [all …]
|
D | typeFromPropertyAssignment10.symbols | 2 var Outer = Outer || {}; 3 >Outer : Symbol(Outer, Decl(module.js, 0, 3), Decl(module.js, 0, 24), Decl(someview.js, 0, 0), Decl… 4 >Outer : Symbol(Outer, Decl(module.js, 0, 3), Decl(module.js, 0, 24), Decl(someview.js, 0, 0), Decl… 6 Outer.app = Outer.app || {}; 7 >Outer.app : Symbol(Outer.app, Decl(module.js, 0, 24), Decl(someview.js, 0, 6), Decl(someview.js, 6… 8 >Outer : Symbol(Outer, Decl(module.js, 0, 3), Decl(module.js, 0, 24), Decl(someview.js, 0, 0), Decl… 9 >app : Symbol(Outer.app, Decl(module.js, 0, 24), Decl(someview.js, 0, 6), Decl(someview.js, 6, 6), … 10 >Outer.app : Symbol(Outer.app, Decl(module.js, 0, 24), Decl(someview.js, 0, 6), Decl(someview.js, 6… 11 >Outer : Symbol(Outer, Decl(module.js, 0, 3), Decl(module.js, 0, 24), Decl(someview.js, 0, 0), Decl… 12 >app : Symbol(Outer.app, Decl(module.js, 0, 24), Decl(someview.js, 0, 6), Decl(someview.js, 6, 6), … [all …]
|
D | typeFromPropertyAssignment13.symbols | 2 var Outer = {} 3 >Outer : Symbol(Outer, Decl(module.js, 0, 3), Decl(module.js, 0, 14), Decl(module.js, 1, 27)) 5 Outer.Inner = function() {} 6 >Outer.Inner : Symbol(Outer.Inner, Decl(module.js, 0, 14), Decl(module.js, 2, 6)) 7 >Outer : Symbol(Outer, Decl(module.js, 0, 3), Decl(module.js, 0, 14), Decl(module.js, 1, 27)) 8 >Inner : Symbol(Outer.Inner, Decl(module.js, 0, 14), Decl(module.js, 2, 6)) 10 Outer.Inner.prototype = { 11 >Outer.Inner.prototype : Symbol(Outer.Inner.prototype, Decl(module.js, 1, 27)) 12 >Outer.Inner : Symbol(Outer.Inner, Decl(module.js, 0, 14), Decl(module.js, 2, 6)) 13 >Outer : Symbol(Outer, Decl(module.js, 0, 3), Decl(module.js, 0, 14), Decl(module.js, 1, 27)) [all …]
|
D | typeFromPropertyAssignment13.types | 2 var Outer = {} 3 >Outer : typeof Outer 6 Outer.Inner = function() {} 7 >Outer.Inner = function() {} : typeof Inner 8 >Outer.Inner : typeof Inner 9 >Outer : typeof Outer 13 Outer.Inner.prototype = { 14 >Outer.Inner.prototype = { m() { }, i: 1} : { m(): void; i: number; } 15 >Outer.Inner.prototype : { m(): void; i: number; } 16 >Outer.Inner : typeof Inner [all …]
|
D | typeofInternalModules.types | 2 module Outer { 3 >Outer : typeof Outer 16 import importInst = Outer.instantiated; 18 >Outer : typeof Outer 21 import importUninst = Outer.uninstantiated; 23 >Outer : typeof Outer 47 var x4: Outer = Outer; 48 >x4 : Outer 49 >Outer : typeof Outer 55 x5 = Outer; [all …]
|
D | typeofInternalModules.js | 2 module Outer { 11 import importInst = Outer.instantiated; 12 import importUninst = Outer.uninstantiated; 18 var x4: Outer = Outer; 20 x5 = Outer; 21 x5 = Outer.instantiated; 23 var x7: typeof Outer = Outer; 28 var Outer; variable 29 (function (Outer) { argument 38 })(instantiated = Outer.instantiated || (Outer.instantiated = {})); [all …]
|
D | typeFromPropertyAssignment6.symbols | 2 class Outer {} 3 >Outer : Symbol(Outer, Decl(def.js, 0, 0), Decl(a.js, 0, 0), Decl(a.js, 2, 1)) 6 Outer.Inner = class I { 7 >Outer.Inner : Symbol(Outer.Inner, Decl(a.js, 0, 0)) 8 >Outer : Symbol(Outer, Decl(def.js, 0, 0), Decl(a.js, 0, 0), Decl(a.js, 2, 1)) 9 >Inner : Symbol(Outer.Inner, Decl(a.js, 0, 0)) 15 /** @type {!Outer.Inner} */ 16 Outer.i 17 >Outer.i : Symbol(Outer.i, Decl(a.js, 2, 1)) 18 >Outer : Symbol(Outer, Decl(def.js, 0, 0), Decl(a.js, 0, 0), Decl(a.js, 2, 1)) [all …]
|
D | typeFromPropertyAssignment6.types | 2 class Outer {} 3 >Outer : Outer 6 Outer.Inner = class I { 7 >Outer.Inner = class I { messages() { return [] }} : typeof I 8 >Outer.Inner : typeof I 9 >Outer : typeof Outer 18 /** @type {!Outer.Inner} */ 19 Outer.i 20 >Outer.i : I 21 >Outer : typeof Outer [all …]
|
D | typeFromPropertyAssignment12.symbols | 2 var Outer = function(element, config) {}; 3 >Outer : Symbol(Outer, Decl(module.js, 0, 3), Decl(usage.js, 0, 0)) 9 Outer.Pos = function (line, ch) {}; 10 >Outer.Pos : Symbol(Outer.Pos, Decl(usage.js, 0, 0)) 11 >Outer : Symbol(Outer, Decl(module.js, 0, 3), Decl(usage.js, 0, 0)) 12 >Pos : Symbol(Outer.Pos, Decl(usage.js, 0, 0)) 17 Outer.Pos.prototype.line; 18 >Outer.Pos.prototype : Symbol(Function.prototype, Decl(lib.es5.d.ts, --, --)) 19 >Outer.Pos : Symbol(Outer.Pos, Decl(usage.js, 0, 0)) 20 >Outer : Symbol(Outer, Decl(module.js, 0, 3), Decl(usage.js, 0, 0)) [all …]
|
D | typeFromPropertyAssignment24.symbols | 3 Outer.Inner.Message = function() { 4 >Outer.Inner.Message : Symbol(Outer.Inner.Message, Decl(usage.js, 0, 0)) 5 >Outer.Inner : Symbol(Outer.Inner, Decl(usage.js, 1, 6), Decl(def.js, 0, 14)) 6 >Outer : Symbol(Outer, Decl(usage.js, 0, 0), Decl(def.js, 0, 3), Decl(def.js, 0, 14)) 7 >Inner : Symbol(Outer.Inner, Decl(usage.js, 1, 6), Decl(def.js, 0, 14)) 8 >Message : Symbol(Outer.Inner.Message, Decl(usage.js, 0, 0)) 12 var y = new Outer.Inner() 14 >Outer.Inner : Symbol(Outer.Inner, Decl(usage.js, 1, 6), Decl(def.js, 0, 14)) 15 >Outer : Symbol(Outer, Decl(usage.js, 0, 0), Decl(def.js, 0, 3), Decl(def.js, 0, 14)) 16 >Inner : Symbol(Outer.Inner, Decl(usage.js, 1, 6), Decl(def.js, 0, 14)) [all …]
|
D | typeFromPropertyAssignment24.types | 3 Outer.Inner.Message = function() { 4 >Outer.Inner.Message = function() {} : () => void 5 >Outer.Inner.Message : () => void 6 >Outer.Inner : typeof Inner 7 >Outer : typeof Outer 14 var y = new Outer.Inner() 16 >new Outer.Inner() : Inner 17 >Outer.Inner : typeof Inner 18 >Outer : typeof Outer 26 /** @type {Outer.Inner} should be instance type, not static type */ [all …]
|
D | typeFromPropertyAssignment16.symbols | 2 var Outer = {}; 3 >Outer : Symbol(Outer, Decl(a.js, 0, 3), Decl(a.js, 0, 15), Decl(a.js, 2, 28)) 5 Outer.Inner = function () {} 6 >Outer.Inner : Symbol(Outer.Inner, Decl(a.js, 0, 15), Decl(a.js, 3, 6)) 7 >Outer : Symbol(Outer, Decl(a.js, 0, 3), Decl(a.js, 0, 15), Decl(a.js, 2, 28)) 8 >Inner : Symbol(Outer.Inner, Decl(a.js, 0, 15), Decl(a.js, 3, 6)) 10 Outer.Inner.prototype = { 11 >Outer.Inner.prototype : Symbol(Outer.Inner.prototype, Decl(a.js, 2, 28)) 12 >Outer.Inner : Symbol(Outer.Inner, Decl(a.js, 0, 15), Decl(a.js, 3, 6)) 13 >Outer : Symbol(Outer, Decl(a.js, 0, 3), Decl(a.js, 0, 15), Decl(a.js, 2, 28)) [all …]
|
D | typeofInternalModules.symbols | 2 module Outer { 3 >Outer : Symbol(Outer, Decl(typeofInternalModules.ts, 0, 0)) 19 import importInst = Outer.instantiated; 21 >Outer : Symbol(Outer, Decl(typeofInternalModules.ts, 0, 0)) 24 import importUninst = Outer.uninstantiated; 26 >Outer : Symbol(Outer, Decl(typeofInternalModules.ts, 0, 0)) 47 var x4: Outer = Outer; 49 >Outer : Symbol(Outer) 50 >Outer : Symbol(Outer, Decl(typeofInternalModules.ts, 0, 0)) 56 x5 = Outer; [all …]
|
D | typeFromPropertyAssignment16.types | 2 var Outer = {}; 3 >Outer : typeof Outer 6 Outer.Inner = function () {} 7 >Outer.Inner = function () {} : typeof Inner 8 >Outer.Inner : typeof Inner 9 >Outer : typeof Outer 13 Outer.Inner.prototype = { 14 >Outer.Inner.prototype = { x: 1, m() { }} : { x: number; m(): void; } 15 >Outer.Inner.prototype : { x: number; m(): void; } 16 >Outer.Inner : typeof Inner [all …]
|
D | typeFromPropertyAssignment4.types | 2 var Outer = {}; 3 >Outer : typeof Outer 7 Outer.Inner = class { 8 >Outer.Inner = class { constructor() { /** @type {number} */ this.y = 12 }} : t… 9 >Outer.Inner : typeof Inner 10 >Outer : typeof Outer 25 /** @type {Outer.Inner} */ 34 var inner = new Outer.Inner() 36 >new Outer.Inner() : Inner 37 >Outer.Inner : typeof Inner [all …]
|
D | typeFromPropertyAssignment14.types | 2 var Outer = {}; 3 >Outer : typeof Outer 7 Outer.Inner = function () {} 8 >Outer.Inner = function () {} : typeof Inner 9 >Outer.Inner : typeof Inner 10 >Outer : typeof Outer 14 Outer.Inner.prototype = { 15 >Outer.Inner.prototype = { x: 1, m() { }} : { x: number; m(): void; } 16 >Outer.Inner.prototype : { x: number; m(): void; } 17 >Outer.Inner : typeof Inner [all …]
|
D | typeFromPropertyAssignment14.symbols | 2 var Outer = {}; 3 >Outer : Symbol(Outer, Decl(def.js, 0, 3), Decl(work.js, 0, 0), Decl(work.js, 0, 28)) 6 Outer.Inner = function () {} 7 >Outer.Inner : Symbol(Outer.Inner, Decl(work.js, 0, 0), Decl(work.js, 1, 6)) 8 >Outer : Symbol(Outer, Decl(def.js, 0, 3), Decl(work.js, 0, 0), Decl(work.js, 0, 28)) 9 >Inner : Symbol(Outer.Inner, Decl(work.js, 0, 0), Decl(work.js, 1, 6)) 11 Outer.Inner.prototype = { 12 >Outer.Inner.prototype : Symbol(Outer.Inner.prototype, Decl(work.js, 0, 28)) 13 >Outer.Inner : Symbol(Outer.Inner, Decl(work.js, 0, 0), Decl(work.js, 1, 6)) 14 >Outer : Symbol(Outer, Decl(def.js, 0, 3), Decl(work.js, 0, 0), Decl(work.js, 0, 28)) [all …]
|
D | typeFromPropertyAssignment4.symbols | 2 var Outer = {}; 3 >Outer : Symbol(Outer, Decl(def.js, 0, 3), Decl(a.js, 0, 0)) 6 Outer.Inner = class { 7 >Outer.Inner : Symbol(Outer.Inner, Decl(a.js, 0, 0)) 8 >Outer : Symbol(Outer, Decl(def.js, 0, 3), Decl(a.js, 0, 0)) 9 >Inner : Symbol(Outer.Inner, Decl(a.js, 0, 0)) 20 /** @type {Outer.Inner} */ 29 var inner = new Outer.Inner() 31 >Outer.Inner : Symbol(Outer.Inner, Decl(a.js, 0, 0)) 32 >Outer : Symbol(Outer, Decl(def.js, 0, 3), Decl(a.js, 0, 0)) [all …]
|
D | typeFromPropertyAssignment2.symbols | 2 function Outer() { 3 >Outer : Symbol(Outer, Decl(a.js, 0, 0), Decl(a.js, 2, 1)) 6 >this.y : Symbol(Outer.y, Decl(a.js, 0, 18)) 7 >this : Symbol(Outer, Decl(a.js, 0, 0), Decl(a.js, 2, 1)) 8 >y : Symbol(Outer.y, Decl(a.js, 0, 18)) 10 Outer.Inner = class I { 11 >Outer.Inner : Symbol(Outer.Inner, Decl(a.js, 2, 1)) 12 >Outer : Symbol(Outer, Decl(a.js, 0, 0), Decl(a.js, 2, 1)) 13 >Inner : Symbol(Outer.Inner, Decl(a.js, 2, 1)) 23 /** @type {Outer} */ [all …]
|
D | typeFromPropertyAssignment15.types | 2 var Outer = {}; 3 >Outer : typeof Outer 6 Outer.Inner = class { 7 >Outer.Inner = class { constructor() { this.x = 1 } m() { }} : typeof Inner 8 >Outer.Inner : typeof Inner 9 >Outer : typeof Outer 25 /** @type {Outer.Inner} */ 40 var inno = new Outer.Inner() 42 >new Outer.Inner() : Inner 43 >Outer.Inner : typeof Inner [all …]
|
D | typeFromPropertyAssignment12.types | 2 var Outer = function(element, config) {}; 3 >Outer : { (element: any, config: any): void; Pos(line: any, ch: any): void; } 10 Outer.Pos = function (line, ch) {}; 11 >Outer.Pos = function (line, ch) {} : typeof Pos 12 >Outer.Pos : typeof Pos 13 >Outer : { (element: any, config: any): void; Pos(line: any, ch: any): void; } 20 Outer.Pos.prototype.line; 21 >Outer.Pos.prototype.line : any 22 >Outer.Pos.prototype : any 23 >Outer.Pos : typeof Pos [all …]
|
/third_party/typescript/tests/cases/conformance/salsa/ |
D | typeFromPropertyAssignment10.ts | 6 var Outer = Outer || {}; variable 7 Outer.app = Outer.app || {}; 10 Outer.app.SomeView = (function () { 16 Outer.app.Inner = class { 22 var example = new Outer.app.Inner(); 25 Outer.app.statische = function (k) { 29 Outer.app.Application = (function () { 37 me.view = new Outer.app.SomeView(); 42 var app = new Outer.app.Application(); 43 var inner = new Outer.app.Inner(); [all …]
|
D | typeFromPropertyAssignment10_1.ts | 6 var Outer = Outer ?? {}; variable 7 Outer.app = Outer.app ?? {}; 10 Outer.app.SomeView = (function () { 16 Outer.app.Inner = class { 22 var example = new Outer.app.Inner(); 25 Outer.app.statische = function (k) { 29 Outer.app.Application = (function () { 37 me.view = new Outer.app.SomeView(); 42 var app = new Outer.app.Application(); 43 var inner = new Outer.app.Inner(); [all …]
|