mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-02-23 10:29:01 -06:00
Fixes his in decorator helpers
This commit is contained in:
parent
a906076b41
commit
1c40032579
@ -34,7 +34,7 @@ var __extends = this.__extends || function (d, b) {
|
||||
|
||||
// emit output for the __decorate helper function
|
||||
const decorateHelper = `
|
||||
var __decorate = this.__decorate || function (decorators, target, key, desc) {
|
||||
if (typeof __decorate !== "function") __decorate = function (decorators, target, key, desc) {
|
||||
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") return Reflect.decorate(decorators, target, key, desc);
|
||||
switch (arguments.length) {
|
||||
case 2: return decorators.reduceRight(function(o, d) { return (d && d(o)) || o; }, target);
|
||||
@ -45,13 +45,15 @@ var __decorate = this.__decorate || function (decorators, target, key, desc) {
|
||||
|
||||
// emit output for the __metadata helper function
|
||||
const metadataHelper = `
|
||||
var __metadata = this.__metadata || function (k, v) {
|
||||
if (typeof __metadata !== "function") __metadata = function (k, v) {
|
||||
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
||||
};`;
|
||||
|
||||
// emit output for the __param helper function
|
||||
const paramHelper = `
|
||||
var __param = this.__param || function(index, decorator) { return function (target, key) { decorator(target, key, index); } };`;
|
||||
if (typeof __param !== "function") __param = function (paramIndex, decorator) {
|
||||
return function (target, key) { decorator(target, key, paramIndex); }
|
||||
};`;
|
||||
|
||||
let compilerOptions = host.getCompilerOptions();
|
||||
let languageVersion = compilerOptions.target || ScriptTarget.ES3;
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
var v = @decorate class C { static p = 1 };
|
||||
|
||||
//// [classExpressionWithDecorator1.js]
|
||||
var __decorate = this.__decorate || function (decorators, target, key, desc) {
|
||||
if (typeof __decorate !== "function") __decorate = function (decorators, target, key, desc) {
|
||||
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") return Reflect.decorate(decorators, target, key, desc);
|
||||
switch (arguments.length) {
|
||||
case 2: return decorators.reduceRight(function(o, d) { return (d && d(o)) || o; }, target);
|
||||
|
||||
@ -10,7 +10,7 @@ export default class Decorated { }
|
||||
import Decorated from 'decorated';
|
||||
|
||||
//// [decorated.js]
|
||||
var __decorate = this.__decorate || function (decorators, target, key, desc) {
|
||||
if (typeof __decorate !== "function") __decorate = function (decorators, target, key, desc) {
|
||||
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") return Reflect.decorate(decorators, target, key, desc);
|
||||
switch (arguments.length) {
|
||||
case 2: return decorators.reduceRight(function(o, d) { return (d && d(o)) || o; }, target);
|
||||
|
||||
@ -6,7 +6,7 @@ class C {
|
||||
}
|
||||
|
||||
//// [decoratorOnClass1.js]
|
||||
var __decorate = this.__decorate || function (decorators, target, key, desc) {
|
||||
if (typeof __decorate !== "function") __decorate = function (decorators, target, key, desc) {
|
||||
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") return Reflect.decorate(decorators, target, key, desc);
|
||||
switch (arguments.length) {
|
||||
case 2: return decorators.reduceRight(function(o, d) { return (d && d(o)) || o; }, target);
|
||||
|
||||
@ -6,7 +6,7 @@ export class C {
|
||||
}
|
||||
|
||||
//// [decoratorOnClass2.js]
|
||||
var __decorate = this.__decorate || function (decorators, target, key, desc) {
|
||||
if (typeof __decorate !== "function") __decorate = function (decorators, target, key, desc) {
|
||||
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") return Reflect.decorate(decorators, target, key, desc);
|
||||
switch (arguments.length) {
|
||||
case 2: return decorators.reduceRight(function(o, d) { return (d && d(o)) || o; }, target);
|
||||
|
||||
@ -7,7 +7,7 @@ class C {
|
||||
}
|
||||
|
||||
//// [decoratorOnClass3.js]
|
||||
var __decorate = this.__decorate || function (decorators, target, key, desc) {
|
||||
if (typeof __decorate !== "function") __decorate = function (decorators, target, key, desc) {
|
||||
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") return Reflect.decorate(decorators, target, key, desc);
|
||||
switch (arguments.length) {
|
||||
case 2: return decorators.reduceRight(function(o, d) { return (d && d(o)) || o; }, target);
|
||||
|
||||
@ -6,7 +6,7 @@ class C {
|
||||
}
|
||||
|
||||
//// [decoratorOnClass4.js]
|
||||
var __decorate = this.__decorate || function (decorators, target, key, desc) {
|
||||
if (typeof __decorate !== "function") __decorate = function (decorators, target, key, desc) {
|
||||
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") return Reflect.decorate(decorators, target, key, desc);
|
||||
switch (arguments.length) {
|
||||
case 2: return decorators.reduceRight(function(o, d) { return (d && d(o)) || o; }, target);
|
||||
|
||||
@ -6,7 +6,7 @@ class C {
|
||||
}
|
||||
|
||||
//// [decoratorOnClass5.js]
|
||||
var __decorate = this.__decorate || function (decorators, target, key, desc) {
|
||||
if (typeof __decorate !== "function") __decorate = function (decorators, target, key, desc) {
|
||||
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") return Reflect.decorate(decorators, target, key, desc);
|
||||
switch (arguments.length) {
|
||||
case 2: return decorators.reduceRight(function(o, d) { return (d && d(o)) || o; }, target);
|
||||
|
||||
@ -6,7 +6,7 @@ class C {
|
||||
}
|
||||
|
||||
//// [decoratorOnClass8.js]
|
||||
var __decorate = this.__decorate || function (decorators, target, key, desc) {
|
||||
if (typeof __decorate !== "function") __decorate = function (decorators, target, key, desc) {
|
||||
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") return Reflect.decorate(decorators, target, key, desc);
|
||||
switch (arguments.length) {
|
||||
case 2: return decorators.reduceRight(function(o, d) { return (d && d(o)) || o; }, target);
|
||||
|
||||
@ -6,7 +6,7 @@ class C {
|
||||
}
|
||||
|
||||
//// [decoratorOnClassAccessor1.js]
|
||||
var __decorate = this.__decorate || function (decorators, target, key, desc) {
|
||||
if (typeof __decorate !== "function") __decorate = function (decorators, target, key, desc) {
|
||||
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") return Reflect.decorate(decorators, target, key, desc);
|
||||
switch (arguments.length) {
|
||||
case 2: return decorators.reduceRight(function(o, d) { return (d && d(o)) || o; }, target);
|
||||
|
||||
@ -6,7 +6,7 @@ class C {
|
||||
}
|
||||
|
||||
//// [decoratorOnClassAccessor2.js]
|
||||
var __decorate = this.__decorate || function (decorators, target, key, desc) {
|
||||
if (typeof __decorate !== "function") __decorate = function (decorators, target, key, desc) {
|
||||
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") return Reflect.decorate(decorators, target, key, desc);
|
||||
switch (arguments.length) {
|
||||
case 2: return decorators.reduceRight(function(o, d) { return (d && d(o)) || o; }, target);
|
||||
|
||||
@ -6,7 +6,7 @@ class C {
|
||||
}
|
||||
|
||||
//// [decoratorOnClassAccessor3.js]
|
||||
var __decorate = this.__decorate || function (decorators, target, key, desc) {
|
||||
if (typeof __decorate !== "function") __decorate = function (decorators, target, key, desc) {
|
||||
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") return Reflect.decorate(decorators, target, key, desc);
|
||||
switch (arguments.length) {
|
||||
case 2: return decorators.reduceRight(function(o, d) { return (d && d(o)) || o; }, target);
|
||||
|
||||
@ -6,7 +6,7 @@ class C {
|
||||
}
|
||||
|
||||
//// [decoratorOnClassAccessor4.js]
|
||||
var __decorate = this.__decorate || function (decorators, target, key, desc) {
|
||||
if (typeof __decorate !== "function") __decorate = function (decorators, target, key, desc) {
|
||||
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") return Reflect.decorate(decorators, target, key, desc);
|
||||
switch (arguments.length) {
|
||||
case 2: return decorators.reduceRight(function(o, d) { return (d && d(o)) || o; }, target);
|
||||
|
||||
@ -6,7 +6,7 @@ class C {
|
||||
}
|
||||
|
||||
//// [decoratorOnClassAccessor5.js]
|
||||
var __decorate = this.__decorate || function (decorators, target, key, desc) {
|
||||
if (typeof __decorate !== "function") __decorate = function (decorators, target, key, desc) {
|
||||
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") return Reflect.decorate(decorators, target, key, desc);
|
||||
switch (arguments.length) {
|
||||
case 2: return decorators.reduceRight(function(o, d) { return (d && d(o)) || o; }, target);
|
||||
|
||||
@ -6,7 +6,7 @@ class C {
|
||||
}
|
||||
|
||||
//// [decoratorOnClassAccessor6.js]
|
||||
var __decorate = this.__decorate || function (decorators, target, key, desc) {
|
||||
if (typeof __decorate !== "function") __decorate = function (decorators, target, key, desc) {
|
||||
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") return Reflect.decorate(decorators, target, key, desc);
|
||||
switch (arguments.length) {
|
||||
case 2: return decorators.reduceRight(function(o, d) { return (d && d(o)) || o; }, target);
|
||||
|
||||
@ -6,7 +6,7 @@ class C {
|
||||
}
|
||||
|
||||
//// [decoratorOnClassConstructorParameter1.js]
|
||||
var __decorate = this.__decorate || function (decorators, target, key, desc) {
|
||||
if (typeof __decorate !== "function") __decorate = function (decorators, target, key, desc) {
|
||||
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") return Reflect.decorate(decorators, target, key, desc);
|
||||
switch (arguments.length) {
|
||||
case 2: return decorators.reduceRight(function(o, d) { return (d && d(o)) || o; }, target);
|
||||
@ -14,7 +14,9 @@ var __decorate = this.__decorate || function (decorators, target, key, desc) {
|
||||
case 4: return decorators.reduceRight(function(o, d) { return (d && d(target, key, o)) || o; }, desc);
|
||||
}
|
||||
};
|
||||
var __param = this.__param || function(index, decorator) { return function (target, key) { decorator(target, key, index); } };
|
||||
if (typeof __param !== "function") __param = function (paramIndex, decorator) {
|
||||
return function (target, key) { decorator(target, key, paramIndex); }
|
||||
};
|
||||
var C = (function () {
|
||||
function C(p) {
|
||||
}
|
||||
|
||||
@ -6,7 +6,7 @@ class C {
|
||||
}
|
||||
|
||||
//// [decoratorOnClassConstructorParameter4.js]
|
||||
var __decorate = this.__decorate || function (decorators, target, key, desc) {
|
||||
if (typeof __decorate !== "function") __decorate = function (decorators, target, key, desc) {
|
||||
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") return Reflect.decorate(decorators, target, key, desc);
|
||||
switch (arguments.length) {
|
||||
case 2: return decorators.reduceRight(function(o, d) { return (d && d(o)) || o; }, target);
|
||||
@ -14,7 +14,9 @@ var __decorate = this.__decorate || function (decorators, target, key, desc) {
|
||||
case 4: return decorators.reduceRight(function(o, d) { return (d && d(target, key, o)) || o; }, desc);
|
||||
}
|
||||
};
|
||||
var __param = this.__param || function(index, decorator) { return function (target, key) { decorator(target, key, index); } };
|
||||
if (typeof __param !== "function") __param = function (paramIndex, decorator) {
|
||||
return function (target, key) { decorator(target, key, paramIndex); }
|
||||
};
|
||||
var C = (function () {
|
||||
function C(public, p) {
|
||||
}
|
||||
|
||||
@ -6,7 +6,7 @@ class C {
|
||||
}
|
||||
|
||||
//// [decoratorOnClassMethod1.js]
|
||||
var __decorate = this.__decorate || function (decorators, target, key, desc) {
|
||||
if (typeof __decorate !== "function") __decorate = function (decorators, target, key, desc) {
|
||||
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") return Reflect.decorate(decorators, target, key, desc);
|
||||
switch (arguments.length) {
|
||||
case 2: return decorators.reduceRight(function(o, d) { return (d && d(o)) || o; }, target);
|
||||
|
||||
@ -6,7 +6,7 @@ class C {
|
||||
}
|
||||
|
||||
//// [decoratorOnClassMethod10.js]
|
||||
var __decorate = this.__decorate || function (decorators, target, key, desc) {
|
||||
if (typeof __decorate !== "function") __decorate = function (decorators, target, key, desc) {
|
||||
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") return Reflect.decorate(decorators, target, key, desc);
|
||||
switch (arguments.length) {
|
||||
case 2: return decorators.reduceRight(function(o, d) { return (d && d(o)) || o; }, target);
|
||||
|
||||
@ -9,7 +9,7 @@ module M {
|
||||
}
|
||||
|
||||
//// [decoratorOnClassMethod11.js]
|
||||
var __decorate = this.__decorate || function (decorators, target, key, desc) {
|
||||
if (typeof __decorate !== "function") __decorate = function (decorators, target, key, desc) {
|
||||
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") return Reflect.decorate(decorators, target, key, desc);
|
||||
switch (arguments.length) {
|
||||
case 2: return decorators.reduceRight(function(o, d) { return (d && d(o)) || o; }, target);
|
||||
|
||||
@ -16,7 +16,7 @@ var __extends = this.__extends || function (d, b) {
|
||||
__.prototype = b.prototype;
|
||||
d.prototype = new __();
|
||||
};
|
||||
var __decorate = this.__decorate || function (decorators, target, key, desc) {
|
||||
if (typeof __decorate !== "function") __decorate = function (decorators, target, key, desc) {
|
||||
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") return Reflect.decorate(decorators, target, key, desc);
|
||||
switch (arguments.length) {
|
||||
case 2: return decorators.reduceRight(function(o, d) { return (d && d(o)) || o; }, target);
|
||||
|
||||
@ -7,7 +7,7 @@ class C {
|
||||
}
|
||||
|
||||
//// [decoratorOnClassMethod13.js]
|
||||
var __decorate = this.__decorate || function (decorators, target, key, desc) {
|
||||
if (typeof __decorate !== "function") __decorate = function (decorators, target, key, desc) {
|
||||
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") return Reflect.decorate(decorators, target, key, desc);
|
||||
switch (arguments.length) {
|
||||
case 2: return decorators.reduceRight(function(o, d) { return (d && d(o)) || o; }, target);
|
||||
|
||||
@ -6,7 +6,7 @@ class C {
|
||||
}
|
||||
|
||||
//// [decoratorOnClassMethod2.js]
|
||||
var __decorate = this.__decorate || function (decorators, target, key, desc) {
|
||||
if (typeof __decorate !== "function") __decorate = function (decorators, target, key, desc) {
|
||||
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") return Reflect.decorate(decorators, target, key, desc);
|
||||
switch (arguments.length) {
|
||||
case 2: return decorators.reduceRight(function(o, d) { return (d && d(o)) || o; }, target);
|
||||
|
||||
@ -6,7 +6,7 @@ class C {
|
||||
}
|
||||
|
||||
//// [decoratorOnClassMethod3.js]
|
||||
var __decorate = this.__decorate || function (decorators, target, key, desc) {
|
||||
if (typeof __decorate !== "function") __decorate = function (decorators, target, key, desc) {
|
||||
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") return Reflect.decorate(decorators, target, key, desc);
|
||||
switch (arguments.length) {
|
||||
case 2: return decorators.reduceRight(function(o, d) { return (d && d(o)) || o; }, target);
|
||||
|
||||
@ -6,7 +6,7 @@ class C {
|
||||
}
|
||||
|
||||
//// [decoratorOnClassMethod4.js]
|
||||
var __decorate = this.__decorate || function (decorators, target, key, desc) {
|
||||
if (typeof __decorate !== "function") __decorate = function (decorators, target, key, desc) {
|
||||
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") return Reflect.decorate(decorators, target, key, desc);
|
||||
switch (arguments.length) {
|
||||
case 2: return decorators.reduceRight(function(o, d) { return (d && d(o)) || o; }, target);
|
||||
|
||||
@ -6,7 +6,7 @@ class C {
|
||||
}
|
||||
|
||||
//// [decoratorOnClassMethod5.js]
|
||||
var __decorate = this.__decorate || function (decorators, target, key, desc) {
|
||||
if (typeof __decorate !== "function") __decorate = function (decorators, target, key, desc) {
|
||||
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") return Reflect.decorate(decorators, target, key, desc);
|
||||
switch (arguments.length) {
|
||||
case 2: return decorators.reduceRight(function(o, d) { return (d && d(o)) || o; }, target);
|
||||
|
||||
@ -6,7 +6,7 @@ class C {
|
||||
}
|
||||
|
||||
//// [decoratorOnClassMethod6.js]
|
||||
var __decorate = this.__decorate || function (decorators, target, key, desc) {
|
||||
if (typeof __decorate !== "function") __decorate = function (decorators, target, key, desc) {
|
||||
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") return Reflect.decorate(decorators, target, key, desc);
|
||||
switch (arguments.length) {
|
||||
case 2: return decorators.reduceRight(function(o, d) { return (d && d(o)) || o; }, target);
|
||||
|
||||
@ -6,7 +6,7 @@ class C {
|
||||
}
|
||||
|
||||
//// [decoratorOnClassMethod7.js]
|
||||
var __decorate = this.__decorate || function (decorators, target, key, desc) {
|
||||
if (typeof __decorate !== "function") __decorate = function (decorators, target, key, desc) {
|
||||
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") return Reflect.decorate(decorators, target, key, desc);
|
||||
switch (arguments.length) {
|
||||
case 2: return decorators.reduceRight(function(o, d) { return (d && d(o)) || o; }, target);
|
||||
|
||||
@ -6,7 +6,7 @@ class C {
|
||||
}
|
||||
|
||||
//// [decoratorOnClassMethod8.js]
|
||||
var __decorate = this.__decorate || function (decorators, target, key, desc) {
|
||||
if (typeof __decorate !== "function") __decorate = function (decorators, target, key, desc) {
|
||||
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") return Reflect.decorate(decorators, target, key, desc);
|
||||
switch (arguments.length) {
|
||||
case 2: return decorators.reduceRight(function(o, d) { return (d && d(o)) || o; }, target);
|
||||
|
||||
@ -6,7 +6,7 @@ class C {
|
||||
}
|
||||
|
||||
//// [decoratorOnClassMethodParameter1.js]
|
||||
var __decorate = this.__decorate || function (decorators, target, key, desc) {
|
||||
if (typeof __decorate !== "function") __decorate = function (decorators, target, key, desc) {
|
||||
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") return Reflect.decorate(decorators, target, key, desc);
|
||||
switch (arguments.length) {
|
||||
case 2: return decorators.reduceRight(function(o, d) { return (d && d(o)) || o; }, target);
|
||||
@ -14,7 +14,9 @@ var __decorate = this.__decorate || function (decorators, target, key, desc) {
|
||||
case 4: return decorators.reduceRight(function(o, d) { return (d && d(target, key, o)) || o; }, desc);
|
||||
}
|
||||
};
|
||||
var __param = this.__param || function(index, decorator) { return function (target, key) { decorator(target, key, index); } };
|
||||
if (typeof __param !== "function") __param = function (paramIndex, decorator) {
|
||||
return function (target, key) { decorator(target, key, paramIndex); }
|
||||
};
|
||||
var C = (function () {
|
||||
function C() {
|
||||
}
|
||||
|
||||
@ -6,7 +6,7 @@ class C {
|
||||
}
|
||||
|
||||
//// [decoratorOnClassProperty1.js]
|
||||
var __decorate = this.__decorate || function (decorators, target, key, desc) {
|
||||
if (typeof __decorate !== "function") __decorate = function (decorators, target, key, desc) {
|
||||
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") return Reflect.decorate(decorators, target, key, desc);
|
||||
switch (arguments.length) {
|
||||
case 2: return decorators.reduceRight(function(o, d) { return (d && d(o)) || o; }, target);
|
||||
|
||||
@ -6,7 +6,7 @@ class C {
|
||||
}
|
||||
|
||||
//// [decoratorOnClassProperty10.js]
|
||||
var __decorate = this.__decorate || function (decorators, target, key, desc) {
|
||||
if (typeof __decorate !== "function") __decorate = function (decorators, target, key, desc) {
|
||||
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") return Reflect.decorate(decorators, target, key, desc);
|
||||
switch (arguments.length) {
|
||||
case 2: return decorators.reduceRight(function(o, d) { return (d && d(o)) || o; }, target);
|
||||
|
||||
@ -6,7 +6,7 @@ class C {
|
||||
}
|
||||
|
||||
//// [decoratorOnClassProperty11.js]
|
||||
var __decorate = this.__decorate || function (decorators, target, key, desc) {
|
||||
if (typeof __decorate !== "function") __decorate = function (decorators, target, key, desc) {
|
||||
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") return Reflect.decorate(decorators, target, key, desc);
|
||||
switch (arguments.length) {
|
||||
case 2: return decorators.reduceRight(function(o, d) { return (d && d(o)) || o; }, target);
|
||||
|
||||
@ -6,7 +6,7 @@ class C {
|
||||
}
|
||||
|
||||
//// [decoratorOnClassProperty2.js]
|
||||
var __decorate = this.__decorate || function (decorators, target, key, desc) {
|
||||
if (typeof __decorate !== "function") __decorate = function (decorators, target, key, desc) {
|
||||
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") return Reflect.decorate(decorators, target, key, desc);
|
||||
switch (arguments.length) {
|
||||
case 2: return decorators.reduceRight(function(o, d) { return (d && d(o)) || o; }, target);
|
||||
|
||||
@ -6,7 +6,7 @@ class C {
|
||||
}
|
||||
|
||||
//// [decoratorOnClassProperty3.js]
|
||||
var __decorate = this.__decorate || function (decorators, target, key, desc) {
|
||||
if (typeof __decorate !== "function") __decorate = function (decorators, target, key, desc) {
|
||||
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") return Reflect.decorate(decorators, target, key, desc);
|
||||
switch (arguments.length) {
|
||||
case 2: return decorators.reduceRight(function(o, d) { return (d && d(o)) || o; }, target);
|
||||
|
||||
@ -6,7 +6,7 @@ class C {
|
||||
}
|
||||
|
||||
//// [decoratorOnClassProperty6.js]
|
||||
var __decorate = this.__decorate || function (decorators, target, key, desc) {
|
||||
if (typeof __decorate !== "function") __decorate = function (decorators, target, key, desc) {
|
||||
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") return Reflect.decorate(decorators, target, key, desc);
|
||||
switch (arguments.length) {
|
||||
case 2: return decorators.reduceRight(function(o, d) { return (d && d(o)) || o; }, target);
|
||||
|
||||
@ -6,7 +6,7 @@ class C {
|
||||
}
|
||||
|
||||
//// [decoratorOnClassProperty7.js]
|
||||
var __decorate = this.__decorate || function (decorators, target, key, desc) {
|
||||
if (typeof __decorate !== "function") __decorate = function (decorators, target, key, desc) {
|
||||
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") return Reflect.decorate(decorators, target, key, desc);
|
||||
switch (arguments.length) {
|
||||
case 2: return decorators.reduceRight(function(o, d) { return (d && d(o)) || o; }, target);
|
||||
|
||||
@ -22,7 +22,7 @@ class C {
|
||||
|
||||
//// [a.js]
|
||||
//// [b.js]
|
||||
var __decorate = this.__decorate || function (decorators, target, key, desc) {
|
||||
if (typeof __decorate !== "function") __decorate = function (decorators, target, key, desc) {
|
||||
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") return Reflect.decorate(decorators, target, key, desc);
|
||||
switch (arguments.length) {
|
||||
case 2: return decorators.reduceRight(function(o, d) { return (d && d(o)) || o; }, target);
|
||||
|
||||
@ -55,7 +55,7 @@ class Greeter {
|
||||
}
|
||||
|
||||
//// [sourceMapValidationDecorators.js]
|
||||
var __decorate = this.__decorate || function (decorators, target, key, desc) {
|
||||
if (typeof __decorate !== "function") __decorate = function (decorators, target, key, desc) {
|
||||
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") return Reflect.decorate(decorators, target, key, desc);
|
||||
switch (arguments.length) {
|
||||
case 2: return decorators.reduceRight(function(o, d) { return (d && d(o)) || o; }, target);
|
||||
@ -63,7 +63,9 @@ var __decorate = this.__decorate || function (decorators, target, key, desc) {
|
||||
case 4: return decorators.reduceRight(function(o, d) { return (d && d(target, key, o)) || o; }, desc);
|
||||
}
|
||||
};
|
||||
var __param = this.__param || function(index, decorator) { return function (target, key) { decorator(target, key, index); } };
|
||||
if (typeof __param !== "function") __param = function (paramIndex, decorator) {
|
||||
return function (target, key) { decorator(target, key, paramIndex); }
|
||||
};
|
||||
var Greeter = (function () {
|
||||
function Greeter(greeting) {
|
||||
var b = [];
|
||||
|
||||
@ -1,2 +1,2 @@
|
||||
//// [sourceMapValidationDecorators.js.map]
|
||||
{"version":3,"file":"sourceMapValidationDecorators.js","sourceRoot":"","sources":["sourceMapValidationDecorators.ts"],"names":["Greeter","Greeter.constructor","Greeter.greet","Greeter.fn","Greeter.greetings"],"mappings":";;;;;;;;;AAOA;IAGIA,iBAGSA,QAAgBA;QAEvBC,WAEcA;aAFdA,WAEcA,CAFdA,sBAEcA,CAFdA,IAEcA;YAFdA,0BAEcA;;QAJPA,aAAQA,GAARA,QAAQA,CAAQA;IAKzBA,CAACA;IAIDD,uBAAKA,GAFLA;QAGIE,MAAMA,CAACA,MAAMA,GAAGA,IAAIA,CAACA,QAAQA,GAAGA,OAAOA,CAACA;IAC5CA,CAACA;IAUOF,oBAAEA,GAAVA,UAGEA,CAASA;QACPG,MAAMA,CAACA,IAAIA,CAACA,QAAQA,CAACA;IACzBA,CAACA;IAEDH,sBAEIA,8BAASA;aAFbA;YAGII,MAAMA,CAACA,IAAIA,CAACA,QAAQA,CAACA;QACzBA,CAACA;aAEDJ,UAGEA,SAAiBA;YACfI,IAAIA,CAACA,QAAQA,GAAGA,SAASA,CAACA;QAC9BA,CAACA;;;OAPAJ;IAbcA,UAAEA,GAAWA,EAAEA,CAACA;IAZ/BA,sBAEAA,0BAAKA;;YAFJA,kBAAkBA;YAClBA,kBAAkBA,CAACA,EAAEA,CAACA;WACvBA,0BAAKA,kCAALA,0BAAKA,IAEJA;IAEDA;QAACA,kBAAkBA;QAClBA,kBAAkBA,CAACA,EAAEA,CAACA;OACfA,sBAACA,EAASA;IAMlBA,sBAAQA,uBAAEA;;YACRA,WAACA,mBAAmBA,CAAAA;YACpBA,WAACA,mBAAmBA,CAACA,EAAEA,CAACA,CAAAA;WAFlBA,uBAAEA,kCAAFA,uBAAEA,IAKTA;IAEDA,sBAEIA,8BAASA;;YAFZA,kBAAkBA;YAClBA,kBAAkBA,CAACA,EAAEA,CAACA;YAMrBA,WAACA,mBAAmBA,CAAAA;YACpBA,WAACA,mBAAmBA,CAACA,EAAEA,CAACA,CAAAA;WANtBA,8BAASA,kCAATA,8BAASA,IAEZA;IAfDA;QAACA,kBAAkBA;QAClBA,kBAAkBA,CAACA,EAAEA,CAACA;OACRA,aAAEA,EAAcA;IAzBnCA;QAACA,eAAeA;QACfA,eAAeA,CAACA,EAAEA,CAACA;QAGdA,WAACA,mBAAmBA,CAAAA;QACpBA,WAACA,mBAAmBA,CAACA,EAAEA,CAACA,CAAAA;QAGxBA,WAACA,mBAAmBA,CAAAA;QACpBA,WAACA,mBAAmBA,CAACA,EAAEA,CAACA,CAAAA;gBAqC7BA;IAADA,cAACA;AAADA,CAACA,AA9CD,IA8CC"}
|
||||
{"version":3,"file":"sourceMapValidationDecorators.js","sourceRoot":"","sources":["sourceMapValidationDecorators.ts"],"names":["Greeter","Greeter.constructor","Greeter.greet","Greeter.fn","Greeter.greetings"],"mappings":";;;;;;;;;;;AAOA;IAGIA,iBAGSA,QAAgBA;QAEvBC,WAEcA;aAFdA,WAEcA,CAFdA,sBAEcA,CAFdA,IAEcA;YAFdA,0BAEcA;;QAJPA,aAAQA,GAARA,QAAQA,CAAQA;IAKzBA,CAACA;IAIDD,uBAAKA,GAFLA;QAGIE,MAAMA,CAACA,MAAMA,GAAGA,IAAIA,CAACA,QAAQA,GAAGA,OAAOA,CAACA;IAC5CA,CAACA;IAUOF,oBAAEA,GAAVA,UAGEA,CAASA;QACPG,MAAMA,CAACA,IAAIA,CAACA,QAAQA,CAACA;IACzBA,CAACA;IAEDH,sBAEIA,8BAASA;aAFbA;YAGII,MAAMA,CAACA,IAAIA,CAACA,QAAQA,CAACA;QACzBA,CAACA;aAEDJ,UAGEA,SAAiBA;YACfI,IAAIA,CAACA,QAAQA,GAAGA,SAASA,CAACA;QAC9BA,CAACA;;;OAPAJ;IAbcA,UAAEA,GAAWA,EAAEA,CAACA;IAZ/BA,sBAEAA,0BAAKA;;YAFJA,kBAAkBA;YAClBA,kBAAkBA,CAACA,EAAEA,CAACA;WACvBA,0BAAKA,kCAALA,0BAAKA,IAEJA;IAEDA;QAACA,kBAAkBA;QAClBA,kBAAkBA,CAACA,EAAEA,CAACA;OACfA,sBAACA,EAASA;IAMlBA,sBAAQA,uBAAEA;;YACRA,WAACA,mBAAmBA,CAAAA;YACpBA,WAACA,mBAAmBA,CAACA,EAAEA,CAACA,CAAAA;WAFlBA,uBAAEA,kCAAFA,uBAAEA,IAKTA;IAEDA,sBAEIA,8BAASA;;YAFZA,kBAAkBA;YAClBA,kBAAkBA,CAACA,EAAEA,CAACA;YAMrBA,WAACA,mBAAmBA,CAAAA;YACpBA,WAACA,mBAAmBA,CAACA,EAAEA,CAACA,CAAAA;WANtBA,8BAASA,kCAATA,8BAASA,IAEZA;IAfDA;QAACA,kBAAkBA;QAClBA,kBAAkBA,CAACA,EAAEA,CAACA;OACRA,aAAEA,EAAcA;IAzBnCA;QAACA,eAAeA;QACfA,eAAeA,CAACA,EAAEA,CAACA;QAGdA,WAACA,mBAAmBA,CAAAA;QACpBA,WAACA,mBAAmBA,CAACA,EAAEA,CAACA,CAAAA;QAGxBA,WAACA,mBAAmBA,CAAAA;QACpBA,WAACA,mBAAmBA,CAACA,EAAEA,CAACA,CAAAA;gBAqC7BA;IAADA,cAACA;AAADA,CAACA,AA9CD,IA8CC"}
|
||||
@ -8,7 +8,7 @@ sources: sourceMapValidationDecorators.ts
|
||||
emittedFile:tests/cases/compiler/sourceMapValidationDecorators.js
|
||||
sourceFile:sourceMapValidationDecorators.ts
|
||||
-------------------------------------------------------------------
|
||||
>>>var __decorate = this.__decorate || function (decorators, target, key, desc) {
|
||||
>>>if (typeof __decorate !== "function") __decorate = function (decorators, target, key, desc) {
|
||||
>>> if (typeof Reflect === "object" && typeof Reflect.decorate === "function") return Reflect.decorate(decorators, target, key, desc);
|
||||
>>> switch (arguments.length) {
|
||||
>>> case 2: return decorators.reduceRight(function(o, d) { return (d && d(o)) || o; }, target);
|
||||
@ -16,7 +16,9 @@ sourceFile:sourceMapValidationDecorators.ts
|
||||
>>> case 4: return decorators.reduceRight(function(o, d) { return (d && d(target, key, o)) || o; }, desc);
|
||||
>>> }
|
||||
>>>};
|
||||
>>>var __param = this.__param || function(index, decorator) { return function (target, key) { decorator(target, key, index); } };
|
||||
>>>if (typeof __param !== "function") __param = function (paramIndex, decorator) {
|
||||
>>> return function (target, key) { decorator(target, key, paramIndex); }
|
||||
>>>};
|
||||
>>>var Greeter = (function () {
|
||||
1 >
|
||||
2 >^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
|
||||
@ -28,7 +30,7 @@ sourceFile:sourceMapValidationDecorators.ts
|
||||
>declare function ParameterDecorator2(x: number): (target: Function, key: string | symbol, paramIndex: number) => void;
|
||||
>
|
||||
>
|
||||
1 >Emitted(10, 1) Source(8, 1) + SourceIndex(0)
|
||||
1 >Emitted(12, 1) Source(8, 1) + SourceIndex(0)
|
||||
---
|
||||
>>> function Greeter(greeting) {
|
||||
1->^^^^
|
||||
@ -43,9 +45,9 @@ sourceFile:sourceMapValidationDecorators.ts
|
||||
> @ParameterDecorator2(20)
|
||||
> public
|
||||
3 > greeting: string
|
||||
1->Emitted(11, 5) Source(11, 5) + SourceIndex(0) name (Greeter)
|
||||
2 >Emitted(11, 22) Source(14, 14) + SourceIndex(0) name (Greeter)
|
||||
3 >Emitted(11, 30) Source(14, 30) + SourceIndex(0) name (Greeter)
|
||||
1->Emitted(13, 5) Source(11, 5) + SourceIndex(0) name (Greeter)
|
||||
2 >Emitted(13, 22) Source(14, 14) + SourceIndex(0) name (Greeter)
|
||||
3 >Emitted(13, 30) Source(14, 30) + SourceIndex(0) name (Greeter)
|
||||
---
|
||||
>>> var b = [];
|
||||
1 >^^^^^^^^
|
||||
@ -57,8 +59,8 @@ sourceFile:sourceMapValidationDecorators.ts
|
||||
2 > @ParameterDecorator1
|
||||
> @ParameterDecorator2(30)
|
||||
> ...b: string[]
|
||||
1 >Emitted(12, 9) Source(16, 7) + SourceIndex(0) name (Greeter.constructor)
|
||||
2 >Emitted(12, 20) Source(18, 21) + SourceIndex(0) name (Greeter.constructor)
|
||||
1 >Emitted(14, 9) Source(16, 7) + SourceIndex(0) name (Greeter.constructor)
|
||||
2 >Emitted(14, 20) Source(18, 21) + SourceIndex(0) name (Greeter.constructor)
|
||||
---
|
||||
>>> for (var _i = 1; _i < arguments.length; _i++) {
|
||||
1->^^^^^^^^^^^^^
|
||||
@ -79,12 +81,12 @@ sourceFile:sourceMapValidationDecorators.ts
|
||||
6 > @ParameterDecorator1
|
||||
> @ParameterDecorator2(30)
|
||||
> ...b: string[]
|
||||
1->Emitted(13, 14) Source(16, 7) + SourceIndex(0) name (Greeter.constructor)
|
||||
2 >Emitted(13, 25) Source(18, 21) + SourceIndex(0) name (Greeter.constructor)
|
||||
3 >Emitted(13, 26) Source(16, 7) + SourceIndex(0) name (Greeter.constructor)
|
||||
4 >Emitted(13, 48) Source(18, 21) + SourceIndex(0) name (Greeter.constructor)
|
||||
5 >Emitted(13, 49) Source(16, 7) + SourceIndex(0) name (Greeter.constructor)
|
||||
6 >Emitted(13, 53) Source(18, 21) + SourceIndex(0) name (Greeter.constructor)
|
||||
1->Emitted(15, 14) Source(16, 7) + SourceIndex(0) name (Greeter.constructor)
|
||||
2 >Emitted(15, 25) Source(18, 21) + SourceIndex(0) name (Greeter.constructor)
|
||||
3 >Emitted(15, 26) Source(16, 7) + SourceIndex(0) name (Greeter.constructor)
|
||||
4 >Emitted(15, 48) Source(18, 21) + SourceIndex(0) name (Greeter.constructor)
|
||||
5 >Emitted(15, 49) Source(16, 7) + SourceIndex(0) name (Greeter.constructor)
|
||||
6 >Emitted(15, 53) Source(18, 21) + SourceIndex(0) name (Greeter.constructor)
|
||||
---
|
||||
>>> b[_i - 1] = arguments[_i];
|
||||
1 >^^^^^^^^^^^^
|
||||
@ -93,8 +95,8 @@ sourceFile:sourceMapValidationDecorators.ts
|
||||
2 > @ParameterDecorator1
|
||||
> @ParameterDecorator2(30)
|
||||
> ...b: string[]
|
||||
1 >Emitted(14, 13) Source(16, 7) + SourceIndex(0) name (Greeter.constructor)
|
||||
2 >Emitted(14, 39) Source(18, 21) + SourceIndex(0) name (Greeter.constructor)
|
||||
1 >Emitted(16, 13) Source(16, 7) + SourceIndex(0) name (Greeter.constructor)
|
||||
2 >Emitted(16, 39) Source(18, 21) + SourceIndex(0) name (Greeter.constructor)
|
||||
---
|
||||
>>> }
|
||||
>>> this.greeting = greeting;
|
||||
@ -108,11 +110,11 @@ sourceFile:sourceMapValidationDecorators.ts
|
||||
3 >
|
||||
4 > greeting
|
||||
5 > : string
|
||||
1 >Emitted(16, 9) Source(14, 14) + SourceIndex(0) name (Greeter.constructor)
|
||||
2 >Emitted(16, 22) Source(14, 22) + SourceIndex(0) name (Greeter.constructor)
|
||||
3 >Emitted(16, 25) Source(14, 14) + SourceIndex(0) name (Greeter.constructor)
|
||||
4 >Emitted(16, 33) Source(14, 22) + SourceIndex(0) name (Greeter.constructor)
|
||||
5 >Emitted(16, 34) Source(14, 30) + SourceIndex(0) name (Greeter.constructor)
|
||||
1 >Emitted(18, 9) Source(14, 14) + SourceIndex(0) name (Greeter.constructor)
|
||||
2 >Emitted(18, 22) Source(14, 22) + SourceIndex(0) name (Greeter.constructor)
|
||||
3 >Emitted(18, 25) Source(14, 14) + SourceIndex(0) name (Greeter.constructor)
|
||||
4 >Emitted(18, 33) Source(14, 22) + SourceIndex(0) name (Greeter.constructor)
|
||||
5 >Emitted(18, 34) Source(14, 30) + SourceIndex(0) name (Greeter.constructor)
|
||||
---
|
||||
>>> }
|
||||
1 >^^^^
|
||||
@ -125,8 +127,8 @@ sourceFile:sourceMapValidationDecorators.ts
|
||||
> ...b: string[]) {
|
||||
>
|
||||
2 > }
|
||||
1 >Emitted(17, 5) Source(19, 5) + SourceIndex(0) name (Greeter.constructor)
|
||||
2 >Emitted(17, 6) Source(19, 6) + SourceIndex(0) name (Greeter.constructor)
|
||||
1 >Emitted(19, 5) Source(19, 5) + SourceIndex(0) name (Greeter.constructor)
|
||||
2 >Emitted(19, 6) Source(19, 6) + SourceIndex(0) name (Greeter.constructor)
|
||||
---
|
||||
>>> Greeter.prototype.greet = function () {
|
||||
1->^^^^
|
||||
@ -140,9 +142,9 @@ sourceFile:sourceMapValidationDecorators.ts
|
||||
>
|
||||
2 > greet
|
||||
3 >
|
||||
1->Emitted(18, 5) Source(23, 5) + SourceIndex(0) name (Greeter)
|
||||
2 >Emitted(18, 28) Source(23, 10) + SourceIndex(0) name (Greeter)
|
||||
3 >Emitted(18, 31) Source(21, 5) + SourceIndex(0) name (Greeter)
|
||||
1->Emitted(20, 5) Source(23, 5) + SourceIndex(0) name (Greeter)
|
||||
2 >Emitted(20, 28) Source(23, 10) + SourceIndex(0) name (Greeter)
|
||||
3 >Emitted(20, 31) Source(21, 5) + SourceIndex(0) name (Greeter)
|
||||
---
|
||||
>>> return "<h1>" + this.greeting + "</h1>";
|
||||
1->^^^^^^^^
|
||||
@ -170,17 +172,17 @@ sourceFile:sourceMapValidationDecorators.ts
|
||||
9 > +
|
||||
10> "</h1>"
|
||||
11> ;
|
||||
1->Emitted(19, 9) Source(24, 9) + SourceIndex(0) name (Greeter.greet)
|
||||
2 >Emitted(19, 15) Source(24, 15) + SourceIndex(0) name (Greeter.greet)
|
||||
3 >Emitted(19, 16) Source(24, 16) + SourceIndex(0) name (Greeter.greet)
|
||||
4 >Emitted(19, 22) Source(24, 22) + SourceIndex(0) name (Greeter.greet)
|
||||
5 >Emitted(19, 25) Source(24, 25) + SourceIndex(0) name (Greeter.greet)
|
||||
6 >Emitted(19, 29) Source(24, 29) + SourceIndex(0) name (Greeter.greet)
|
||||
7 >Emitted(19, 30) Source(24, 30) + SourceIndex(0) name (Greeter.greet)
|
||||
8 >Emitted(19, 38) Source(24, 38) + SourceIndex(0) name (Greeter.greet)
|
||||
9 >Emitted(19, 41) Source(24, 41) + SourceIndex(0) name (Greeter.greet)
|
||||
10>Emitted(19, 48) Source(24, 48) + SourceIndex(0) name (Greeter.greet)
|
||||
11>Emitted(19, 49) Source(24, 49) + SourceIndex(0) name (Greeter.greet)
|
||||
1->Emitted(21, 9) Source(24, 9) + SourceIndex(0) name (Greeter.greet)
|
||||
2 >Emitted(21, 15) Source(24, 15) + SourceIndex(0) name (Greeter.greet)
|
||||
3 >Emitted(21, 16) Source(24, 16) + SourceIndex(0) name (Greeter.greet)
|
||||
4 >Emitted(21, 22) Source(24, 22) + SourceIndex(0) name (Greeter.greet)
|
||||
5 >Emitted(21, 25) Source(24, 25) + SourceIndex(0) name (Greeter.greet)
|
||||
6 >Emitted(21, 29) Source(24, 29) + SourceIndex(0) name (Greeter.greet)
|
||||
7 >Emitted(21, 30) Source(24, 30) + SourceIndex(0) name (Greeter.greet)
|
||||
8 >Emitted(21, 38) Source(24, 38) + SourceIndex(0) name (Greeter.greet)
|
||||
9 >Emitted(21, 41) Source(24, 41) + SourceIndex(0) name (Greeter.greet)
|
||||
10>Emitted(21, 48) Source(24, 48) + SourceIndex(0) name (Greeter.greet)
|
||||
11>Emitted(21, 49) Source(24, 49) + SourceIndex(0) name (Greeter.greet)
|
||||
---
|
||||
>>> };
|
||||
1 >^^^^
|
||||
@ -189,8 +191,8 @@ sourceFile:sourceMapValidationDecorators.ts
|
||||
1 >
|
||||
>
|
||||
2 > }
|
||||
1 >Emitted(20, 5) Source(25, 5) + SourceIndex(0) name (Greeter.greet)
|
||||
2 >Emitted(20, 6) Source(25, 6) + SourceIndex(0) name (Greeter.greet)
|
||||
1 >Emitted(22, 5) Source(25, 5) + SourceIndex(0) name (Greeter.greet)
|
||||
2 >Emitted(22, 6) Source(25, 6) + SourceIndex(0) name (Greeter.greet)
|
||||
---
|
||||
>>> Greeter.prototype.fn = function (x) {
|
||||
1->^^^^
|
||||
@ -216,11 +218,11 @@ sourceFile:sourceMapValidationDecorators.ts
|
||||
> @ParameterDecorator2(70)
|
||||
>
|
||||
5 > x: number
|
||||
1->Emitted(21, 5) Source(35, 13) + SourceIndex(0) name (Greeter)
|
||||
2 >Emitted(21, 25) Source(35, 15) + SourceIndex(0) name (Greeter)
|
||||
3 >Emitted(21, 28) Source(35, 5) + SourceIndex(0) name (Greeter)
|
||||
4 >Emitted(21, 38) Source(38, 7) + SourceIndex(0) name (Greeter)
|
||||
5 >Emitted(21, 39) Source(38, 16) + SourceIndex(0) name (Greeter)
|
||||
1->Emitted(23, 5) Source(35, 13) + SourceIndex(0) name (Greeter)
|
||||
2 >Emitted(23, 25) Source(35, 15) + SourceIndex(0) name (Greeter)
|
||||
3 >Emitted(23, 28) Source(35, 5) + SourceIndex(0) name (Greeter)
|
||||
4 >Emitted(23, 38) Source(38, 7) + SourceIndex(0) name (Greeter)
|
||||
5 >Emitted(23, 39) Source(38, 16) + SourceIndex(0) name (Greeter)
|
||||
---
|
||||
>>> return this.greeting;
|
||||
1 >^^^^^^^^
|
||||
@ -238,13 +240,13 @@ sourceFile:sourceMapValidationDecorators.ts
|
||||
5 > .
|
||||
6 > greeting
|
||||
7 > ;
|
||||
1 >Emitted(22, 9) Source(39, 9) + SourceIndex(0) name (Greeter.fn)
|
||||
2 >Emitted(22, 15) Source(39, 15) + SourceIndex(0) name (Greeter.fn)
|
||||
3 >Emitted(22, 16) Source(39, 16) + SourceIndex(0) name (Greeter.fn)
|
||||
4 >Emitted(22, 20) Source(39, 20) + SourceIndex(0) name (Greeter.fn)
|
||||
5 >Emitted(22, 21) Source(39, 21) + SourceIndex(0) name (Greeter.fn)
|
||||
6 >Emitted(22, 29) Source(39, 29) + SourceIndex(0) name (Greeter.fn)
|
||||
7 >Emitted(22, 30) Source(39, 30) + SourceIndex(0) name (Greeter.fn)
|
||||
1 >Emitted(24, 9) Source(39, 9) + SourceIndex(0) name (Greeter.fn)
|
||||
2 >Emitted(24, 15) Source(39, 15) + SourceIndex(0) name (Greeter.fn)
|
||||
3 >Emitted(24, 16) Source(39, 16) + SourceIndex(0) name (Greeter.fn)
|
||||
4 >Emitted(24, 20) Source(39, 20) + SourceIndex(0) name (Greeter.fn)
|
||||
5 >Emitted(24, 21) Source(39, 21) + SourceIndex(0) name (Greeter.fn)
|
||||
6 >Emitted(24, 29) Source(39, 29) + SourceIndex(0) name (Greeter.fn)
|
||||
7 >Emitted(24, 30) Source(39, 30) + SourceIndex(0) name (Greeter.fn)
|
||||
---
|
||||
>>> };
|
||||
1 >^^^^
|
||||
@ -253,8 +255,8 @@ sourceFile:sourceMapValidationDecorators.ts
|
||||
1 >
|
||||
>
|
||||
2 > }
|
||||
1 >Emitted(23, 5) Source(40, 5) + SourceIndex(0) name (Greeter.fn)
|
||||
2 >Emitted(23, 6) Source(40, 6) + SourceIndex(0) name (Greeter.fn)
|
||||
1 >Emitted(25, 5) Source(40, 5) + SourceIndex(0) name (Greeter.fn)
|
||||
2 >Emitted(25, 6) Source(40, 6) + SourceIndex(0) name (Greeter.fn)
|
||||
---
|
||||
>>> Object.defineProperty(Greeter.prototype, "greetings", {
|
||||
1->^^^^
|
||||
@ -267,15 +269,15 @@ sourceFile:sourceMapValidationDecorators.ts
|
||||
> @PropertyDecorator2(80)
|
||||
> get
|
||||
3 > greetings
|
||||
1->Emitted(24, 5) Source(42, 5) + SourceIndex(0) name (Greeter)
|
||||
2 >Emitted(24, 27) Source(44, 9) + SourceIndex(0) name (Greeter)
|
||||
3 >Emitted(24, 57) Source(44, 18) + SourceIndex(0) name (Greeter)
|
||||
1->Emitted(26, 5) Source(42, 5) + SourceIndex(0) name (Greeter)
|
||||
2 >Emitted(26, 27) Source(44, 9) + SourceIndex(0) name (Greeter)
|
||||
3 >Emitted(26, 57) Source(44, 18) + SourceIndex(0) name (Greeter)
|
||||
---
|
||||
>>> get: function () {
|
||||
1 >^^^^^^^^^^^^^
|
||||
2 > ^^^^^^^^^^^^^^^^^^^^^->
|
||||
1 >
|
||||
1 >Emitted(25, 14) Source(42, 5) + SourceIndex(0) name (Greeter)
|
||||
1 >Emitted(27, 14) Source(42, 5) + SourceIndex(0) name (Greeter)
|
||||
---
|
||||
>>> return this.greeting;
|
||||
1->^^^^^^^^^^^^
|
||||
@ -295,13 +297,13 @@ sourceFile:sourceMapValidationDecorators.ts
|
||||
5 > .
|
||||
6 > greeting
|
||||
7 > ;
|
||||
1->Emitted(26, 13) Source(45, 9) + SourceIndex(0) name (Greeter.greetings)
|
||||
2 >Emitted(26, 19) Source(45, 15) + SourceIndex(0) name (Greeter.greetings)
|
||||
3 >Emitted(26, 20) Source(45, 16) + SourceIndex(0) name (Greeter.greetings)
|
||||
4 >Emitted(26, 24) Source(45, 20) + SourceIndex(0) name (Greeter.greetings)
|
||||
5 >Emitted(26, 25) Source(45, 21) + SourceIndex(0) name (Greeter.greetings)
|
||||
6 >Emitted(26, 33) Source(45, 29) + SourceIndex(0) name (Greeter.greetings)
|
||||
7 >Emitted(26, 34) Source(45, 30) + SourceIndex(0) name (Greeter.greetings)
|
||||
1->Emitted(28, 13) Source(45, 9) + SourceIndex(0) name (Greeter.greetings)
|
||||
2 >Emitted(28, 19) Source(45, 15) + SourceIndex(0) name (Greeter.greetings)
|
||||
3 >Emitted(28, 20) Source(45, 16) + SourceIndex(0) name (Greeter.greetings)
|
||||
4 >Emitted(28, 24) Source(45, 20) + SourceIndex(0) name (Greeter.greetings)
|
||||
5 >Emitted(28, 25) Source(45, 21) + SourceIndex(0) name (Greeter.greetings)
|
||||
6 >Emitted(28, 33) Source(45, 29) + SourceIndex(0) name (Greeter.greetings)
|
||||
7 >Emitted(28, 34) Source(45, 30) + SourceIndex(0) name (Greeter.greetings)
|
||||
---
|
||||
>>> },
|
||||
1 >^^^^^^^^
|
||||
@ -310,8 +312,8 @@ sourceFile:sourceMapValidationDecorators.ts
|
||||
1 >
|
||||
>
|
||||
2 > }
|
||||
1 >Emitted(27, 9) Source(46, 5) + SourceIndex(0) name (Greeter.greetings)
|
||||
2 >Emitted(27, 10) Source(46, 6) + SourceIndex(0) name (Greeter.greetings)
|
||||
1 >Emitted(29, 9) Source(46, 5) + SourceIndex(0) name (Greeter.greetings)
|
||||
2 >Emitted(29, 10) Source(46, 6) + SourceIndex(0) name (Greeter.greetings)
|
||||
---
|
||||
>>> set: function (greetings) {
|
||||
1->^^^^^^^^^^^^^
|
||||
@ -326,9 +328,9 @@ sourceFile:sourceMapValidationDecorators.ts
|
||||
> @ParameterDecorator2(90)
|
||||
>
|
||||
3 > greetings: string
|
||||
1->Emitted(28, 14) Source(48, 5) + SourceIndex(0) name (Greeter)
|
||||
2 >Emitted(28, 24) Source(51, 7) + SourceIndex(0) name (Greeter)
|
||||
3 >Emitted(28, 33) Source(51, 24) + SourceIndex(0) name (Greeter)
|
||||
1->Emitted(30, 14) Source(48, 5) + SourceIndex(0) name (Greeter)
|
||||
2 >Emitted(30, 24) Source(51, 7) + SourceIndex(0) name (Greeter)
|
||||
3 >Emitted(30, 33) Source(51, 24) + SourceIndex(0) name (Greeter)
|
||||
---
|
||||
>>> this.greeting = greetings;
|
||||
1->^^^^^^^^^^^^
|
||||
@ -346,13 +348,13 @@ sourceFile:sourceMapValidationDecorators.ts
|
||||
5 > =
|
||||
6 > greetings
|
||||
7 > ;
|
||||
1->Emitted(29, 13) Source(52, 9) + SourceIndex(0) name (Greeter.greetings)
|
||||
2 >Emitted(29, 17) Source(52, 13) + SourceIndex(0) name (Greeter.greetings)
|
||||
3 >Emitted(29, 18) Source(52, 14) + SourceIndex(0) name (Greeter.greetings)
|
||||
4 >Emitted(29, 26) Source(52, 22) + SourceIndex(0) name (Greeter.greetings)
|
||||
5 >Emitted(29, 29) Source(52, 25) + SourceIndex(0) name (Greeter.greetings)
|
||||
6 >Emitted(29, 38) Source(52, 34) + SourceIndex(0) name (Greeter.greetings)
|
||||
7 >Emitted(29, 39) Source(52, 35) + SourceIndex(0) name (Greeter.greetings)
|
||||
1->Emitted(31, 13) Source(52, 9) + SourceIndex(0) name (Greeter.greetings)
|
||||
2 >Emitted(31, 17) Source(52, 13) + SourceIndex(0) name (Greeter.greetings)
|
||||
3 >Emitted(31, 18) Source(52, 14) + SourceIndex(0) name (Greeter.greetings)
|
||||
4 >Emitted(31, 26) Source(52, 22) + SourceIndex(0) name (Greeter.greetings)
|
||||
5 >Emitted(31, 29) Source(52, 25) + SourceIndex(0) name (Greeter.greetings)
|
||||
6 >Emitted(31, 38) Source(52, 34) + SourceIndex(0) name (Greeter.greetings)
|
||||
7 >Emitted(31, 39) Source(52, 35) + SourceIndex(0) name (Greeter.greetings)
|
||||
---
|
||||
>>> },
|
||||
1 >^^^^^^^^
|
||||
@ -361,8 +363,8 @@ sourceFile:sourceMapValidationDecorators.ts
|
||||
1 >
|
||||
>
|
||||
2 > }
|
||||
1 >Emitted(30, 9) Source(53, 5) + SourceIndex(0) name (Greeter.greetings)
|
||||
2 >Emitted(30, 10) Source(53, 6) + SourceIndex(0) name (Greeter.greetings)
|
||||
1 >Emitted(32, 9) Source(53, 5) + SourceIndex(0) name (Greeter.greetings)
|
||||
2 >Emitted(32, 10) Source(53, 6) + SourceIndex(0) name (Greeter.greetings)
|
||||
---
|
||||
>>> enumerable: true,
|
||||
>>> configurable: true
|
||||
@ -370,7 +372,7 @@ sourceFile:sourceMapValidationDecorators.ts
|
||||
1->^^^^^^^
|
||||
2 > ^^^^^^^^^^^^^^->
|
||||
1->
|
||||
1->Emitted(33, 8) Source(46, 6) + SourceIndex(0) name (Greeter)
|
||||
1->Emitted(35, 8) Source(46, 6) + SourceIndex(0) name (Greeter)
|
||||
---
|
||||
>>> Greeter.x1 = 10;
|
||||
1->^^^^
|
||||
@ -384,11 +386,11 @@ sourceFile:sourceMapValidationDecorators.ts
|
||||
3 > : number =
|
||||
4 > 10
|
||||
5 > ;
|
||||
1->Emitted(34, 5) Source(33, 20) + SourceIndex(0) name (Greeter)
|
||||
2 >Emitted(34, 15) Source(33, 22) + SourceIndex(0) name (Greeter)
|
||||
3 >Emitted(34, 18) Source(33, 33) + SourceIndex(0) name (Greeter)
|
||||
4 >Emitted(34, 20) Source(33, 35) + SourceIndex(0) name (Greeter)
|
||||
5 >Emitted(34, 21) Source(33, 36) + SourceIndex(0) name (Greeter)
|
||||
1->Emitted(36, 5) Source(33, 20) + SourceIndex(0) name (Greeter)
|
||||
2 >Emitted(36, 15) Source(33, 22) + SourceIndex(0) name (Greeter)
|
||||
3 >Emitted(36, 18) Source(33, 33) + SourceIndex(0) name (Greeter)
|
||||
4 >Emitted(36, 20) Source(33, 35) + SourceIndex(0) name (Greeter)
|
||||
5 >Emitted(36, 21) Source(33, 36) + SourceIndex(0) name (Greeter)
|
||||
---
|
||||
>>> Object.defineProperty(Greeter.prototype, "greet",
|
||||
1->^^^^
|
||||
@ -399,9 +401,9 @@ sourceFile:sourceMapValidationDecorators.ts
|
||||
> @PropertyDecorator2(40)
|
||||
>
|
||||
3 > greet
|
||||
1->Emitted(35, 5) Source(21, 5) + SourceIndex(0) name (Greeter)
|
||||
2 >Emitted(35, 27) Source(23, 5) + SourceIndex(0) name (Greeter)
|
||||
3 >Emitted(35, 53) Source(23, 10) + SourceIndex(0) name (Greeter)
|
||||
1->Emitted(37, 5) Source(21, 5) + SourceIndex(0) name (Greeter)
|
||||
2 >Emitted(37, 27) Source(23, 5) + SourceIndex(0) name (Greeter)
|
||||
3 >Emitted(37, 53) Source(23, 10) + SourceIndex(0) name (Greeter)
|
||||
---
|
||||
>>> __decorate([
|
||||
>>> PropertyDecorator1,
|
||||
@ -410,8 +412,8 @@ sourceFile:sourceMapValidationDecorators.ts
|
||||
3 > ^^^^^->
|
||||
1 >
|
||||
2 > PropertyDecorator1
|
||||
1 >Emitted(37, 13) Source(21, 6) + SourceIndex(0) name (Greeter)
|
||||
2 >Emitted(37, 31) Source(21, 24) + SourceIndex(0) name (Greeter)
|
||||
1 >Emitted(39, 13) Source(21, 6) + SourceIndex(0) name (Greeter)
|
||||
2 >Emitted(39, 31) Source(21, 24) + SourceIndex(0) name (Greeter)
|
||||
---
|
||||
>>> PropertyDecorator2(40)
|
||||
1->^^^^^^^^^^^^
|
||||
@ -426,11 +428,11 @@ sourceFile:sourceMapValidationDecorators.ts
|
||||
3 > (
|
||||
4 > 40
|
||||
5 > )
|
||||
1->Emitted(38, 13) Source(22, 6) + SourceIndex(0) name (Greeter)
|
||||
2 >Emitted(38, 31) Source(22, 24) + SourceIndex(0) name (Greeter)
|
||||
3 >Emitted(38, 32) Source(22, 25) + SourceIndex(0) name (Greeter)
|
||||
4 >Emitted(38, 34) Source(22, 27) + SourceIndex(0) name (Greeter)
|
||||
5 >Emitted(38, 35) Source(22, 28) + SourceIndex(0) name (Greeter)
|
||||
1->Emitted(40, 13) Source(22, 6) + SourceIndex(0) name (Greeter)
|
||||
2 >Emitted(40, 31) Source(22, 24) + SourceIndex(0) name (Greeter)
|
||||
3 >Emitted(40, 32) Source(22, 25) + SourceIndex(0) name (Greeter)
|
||||
4 >Emitted(40, 34) Source(22, 27) + SourceIndex(0) name (Greeter)
|
||||
5 >Emitted(40, 35) Source(22, 28) + SourceIndex(0) name (Greeter)
|
||||
---
|
||||
>>> ], Greeter.prototype, "greet", Object.getOwnPropertyDescriptor(Greeter.prototype, "greet")));
|
||||
1->^^^^^^^^^^^
|
||||
@ -446,11 +448,11 @@ sourceFile:sourceMapValidationDecorators.ts
|
||||
5 > () {
|
||||
> return "<h1>" + this.greeting + "</h1>";
|
||||
> }
|
||||
1->Emitted(39, 12) Source(23, 5) + SourceIndex(0) name (Greeter)
|
||||
2 >Emitted(39, 38) Source(23, 10) + SourceIndex(0) name (Greeter)
|
||||
3 >Emitted(39, 72) Source(23, 5) + SourceIndex(0) name (Greeter)
|
||||
4 >Emitted(39, 98) Source(23, 10) + SourceIndex(0) name (Greeter)
|
||||
5 >Emitted(39, 102) Source(25, 6) + SourceIndex(0) name (Greeter)
|
||||
1->Emitted(41, 12) Source(23, 5) + SourceIndex(0) name (Greeter)
|
||||
2 >Emitted(41, 38) Source(23, 10) + SourceIndex(0) name (Greeter)
|
||||
3 >Emitted(41, 72) Source(23, 5) + SourceIndex(0) name (Greeter)
|
||||
4 >Emitted(41, 98) Source(23, 10) + SourceIndex(0) name (Greeter)
|
||||
5 >Emitted(41, 102) Source(25, 6) + SourceIndex(0) name (Greeter)
|
||||
---
|
||||
>>> __decorate([
|
||||
1 >^^^^
|
||||
@ -458,7 +460,7 @@ sourceFile:sourceMapValidationDecorators.ts
|
||||
1 >
|
||||
>
|
||||
>
|
||||
1 >Emitted(40, 5) Source(27, 5) + SourceIndex(0) name (Greeter)
|
||||
1 >Emitted(42, 5) Source(27, 5) + SourceIndex(0) name (Greeter)
|
||||
---
|
||||
>>> PropertyDecorator1,
|
||||
1->^^^^^^^^
|
||||
@ -466,8 +468,8 @@ sourceFile:sourceMapValidationDecorators.ts
|
||||
3 > ^^^^^->
|
||||
1->@
|
||||
2 > PropertyDecorator1
|
||||
1->Emitted(41, 9) Source(27, 6) + SourceIndex(0) name (Greeter)
|
||||
2 >Emitted(41, 27) Source(27, 24) + SourceIndex(0) name (Greeter)
|
||||
1->Emitted(43, 9) Source(27, 6) + SourceIndex(0) name (Greeter)
|
||||
2 >Emitted(43, 27) Source(27, 24) + SourceIndex(0) name (Greeter)
|
||||
---
|
||||
>>> PropertyDecorator2(50)
|
||||
1->^^^^^^^^
|
||||
@ -482,11 +484,11 @@ sourceFile:sourceMapValidationDecorators.ts
|
||||
3 > (
|
||||
4 > 50
|
||||
5 > )
|
||||
1->Emitted(42, 9) Source(28, 6) + SourceIndex(0) name (Greeter)
|
||||
2 >Emitted(42, 27) Source(28, 24) + SourceIndex(0) name (Greeter)
|
||||
3 >Emitted(42, 28) Source(28, 25) + SourceIndex(0) name (Greeter)
|
||||
4 >Emitted(42, 30) Source(28, 27) + SourceIndex(0) name (Greeter)
|
||||
5 >Emitted(42, 31) Source(28, 28) + SourceIndex(0) name (Greeter)
|
||||
1->Emitted(44, 9) Source(28, 6) + SourceIndex(0) name (Greeter)
|
||||
2 >Emitted(44, 27) Source(28, 24) + SourceIndex(0) name (Greeter)
|
||||
3 >Emitted(44, 28) Source(28, 25) + SourceIndex(0) name (Greeter)
|
||||
4 >Emitted(44, 30) Source(28, 27) + SourceIndex(0) name (Greeter)
|
||||
5 >Emitted(44, 31) Source(28, 28) + SourceIndex(0) name (Greeter)
|
||||
---
|
||||
>>> ], Greeter.prototype, "x");
|
||||
1->^^^^^^^
|
||||
@ -497,9 +499,9 @@ sourceFile:sourceMapValidationDecorators.ts
|
||||
> private
|
||||
2 > x
|
||||
3 > : string;
|
||||
1->Emitted(43, 8) Source(29, 13) + SourceIndex(0) name (Greeter)
|
||||
2 >Emitted(43, 30) Source(29, 14) + SourceIndex(0) name (Greeter)
|
||||
3 >Emitted(43, 32) Source(29, 23) + SourceIndex(0) name (Greeter)
|
||||
1->Emitted(45, 8) Source(29, 13) + SourceIndex(0) name (Greeter)
|
||||
2 >Emitted(45, 30) Source(29, 14) + SourceIndex(0) name (Greeter)
|
||||
3 >Emitted(45, 32) Source(29, 23) + SourceIndex(0) name (Greeter)
|
||||
---
|
||||
>>> Object.defineProperty(Greeter.prototype, "fn",
|
||||
1->^^^^
|
||||
@ -514,9 +516,9 @@ sourceFile:sourceMapValidationDecorators.ts
|
||||
>
|
||||
2 > private
|
||||
3 > fn
|
||||
1->Emitted(44, 5) Source(35, 5) + SourceIndex(0) name (Greeter)
|
||||
2 >Emitted(44, 27) Source(35, 13) + SourceIndex(0) name (Greeter)
|
||||
3 >Emitted(44, 50) Source(35, 15) + SourceIndex(0) name (Greeter)
|
||||
1->Emitted(46, 5) Source(35, 5) + SourceIndex(0) name (Greeter)
|
||||
2 >Emitted(46, 27) Source(35, 13) + SourceIndex(0) name (Greeter)
|
||||
3 >Emitted(46, 50) Source(35, 15) + SourceIndex(0) name (Greeter)
|
||||
---
|
||||
>>> __decorate([
|
||||
>>> __param(0, ParameterDecorator1),
|
||||
@ -530,10 +532,10 @@ sourceFile:sourceMapValidationDecorators.ts
|
||||
2 > @
|
||||
3 > ParameterDecorator1
|
||||
4 >
|
||||
1 >Emitted(46, 13) Source(36, 7) + SourceIndex(0) name (Greeter)
|
||||
2 >Emitted(46, 24) Source(36, 8) + SourceIndex(0) name (Greeter)
|
||||
3 >Emitted(46, 43) Source(36, 27) + SourceIndex(0) name (Greeter)
|
||||
4 >Emitted(46, 44) Source(36, 27) + SourceIndex(0) name (Greeter)
|
||||
1 >Emitted(48, 13) Source(36, 7) + SourceIndex(0) name (Greeter)
|
||||
2 >Emitted(48, 24) Source(36, 8) + SourceIndex(0) name (Greeter)
|
||||
3 >Emitted(48, 43) Source(36, 27) + SourceIndex(0) name (Greeter)
|
||||
4 >Emitted(48, 44) Source(36, 27) + SourceIndex(0) name (Greeter)
|
||||
---
|
||||
>>> __param(0, ParameterDecorator2(70))
|
||||
1->^^^^^^^^^^^^
|
||||
@ -552,13 +554,13 @@ sourceFile:sourceMapValidationDecorators.ts
|
||||
5 > 70
|
||||
6 > )
|
||||
7 >
|
||||
1->Emitted(47, 13) Source(37, 7) + SourceIndex(0) name (Greeter)
|
||||
2 >Emitted(47, 24) Source(37, 8) + SourceIndex(0) name (Greeter)
|
||||
3 >Emitted(47, 43) Source(37, 27) + SourceIndex(0) name (Greeter)
|
||||
4 >Emitted(47, 44) Source(37, 28) + SourceIndex(0) name (Greeter)
|
||||
5 >Emitted(47, 46) Source(37, 30) + SourceIndex(0) name (Greeter)
|
||||
6 >Emitted(47, 47) Source(37, 31) + SourceIndex(0) name (Greeter)
|
||||
7 >Emitted(47, 48) Source(37, 31) + SourceIndex(0) name (Greeter)
|
||||
1->Emitted(49, 13) Source(37, 7) + SourceIndex(0) name (Greeter)
|
||||
2 >Emitted(49, 24) Source(37, 8) + SourceIndex(0) name (Greeter)
|
||||
3 >Emitted(49, 43) Source(37, 27) + SourceIndex(0) name (Greeter)
|
||||
4 >Emitted(49, 44) Source(37, 28) + SourceIndex(0) name (Greeter)
|
||||
5 >Emitted(49, 46) Source(37, 30) + SourceIndex(0) name (Greeter)
|
||||
6 >Emitted(49, 47) Source(37, 31) + SourceIndex(0) name (Greeter)
|
||||
7 >Emitted(49, 48) Source(37, 31) + SourceIndex(0) name (Greeter)
|
||||
---
|
||||
>>> ], Greeter.prototype, "fn", Object.getOwnPropertyDescriptor(Greeter.prototype, "fn")));
|
||||
1->^^^^^^^^^^^
|
||||
@ -576,11 +578,11 @@ sourceFile:sourceMapValidationDecorators.ts
|
||||
> x: number) {
|
||||
> return this.greeting;
|
||||
> }
|
||||
1->Emitted(48, 12) Source(35, 13) + SourceIndex(0) name (Greeter)
|
||||
2 >Emitted(48, 35) Source(35, 15) + SourceIndex(0) name (Greeter)
|
||||
3 >Emitted(48, 69) Source(35, 13) + SourceIndex(0) name (Greeter)
|
||||
4 >Emitted(48, 92) Source(35, 15) + SourceIndex(0) name (Greeter)
|
||||
5 >Emitted(48, 96) Source(40, 6) + SourceIndex(0) name (Greeter)
|
||||
1->Emitted(50, 12) Source(35, 13) + SourceIndex(0) name (Greeter)
|
||||
2 >Emitted(50, 35) Source(35, 15) + SourceIndex(0) name (Greeter)
|
||||
3 >Emitted(50, 69) Source(35, 13) + SourceIndex(0) name (Greeter)
|
||||
4 >Emitted(50, 92) Source(35, 15) + SourceIndex(0) name (Greeter)
|
||||
5 >Emitted(50, 96) Source(40, 6) + SourceIndex(0) name (Greeter)
|
||||
---
|
||||
>>> Object.defineProperty(Greeter.prototype, "greetings",
|
||||
1 >^^^^
|
||||
@ -593,9 +595,9 @@ sourceFile:sourceMapValidationDecorators.ts
|
||||
> @PropertyDecorator2(80)
|
||||
> get
|
||||
3 > greetings
|
||||
1 >Emitted(49, 5) Source(42, 5) + SourceIndex(0) name (Greeter)
|
||||
2 >Emitted(49, 27) Source(44, 9) + SourceIndex(0) name (Greeter)
|
||||
3 >Emitted(49, 57) Source(44, 18) + SourceIndex(0) name (Greeter)
|
||||
1 >Emitted(51, 5) Source(42, 5) + SourceIndex(0) name (Greeter)
|
||||
2 >Emitted(51, 27) Source(44, 9) + SourceIndex(0) name (Greeter)
|
||||
3 >Emitted(51, 57) Source(44, 18) + SourceIndex(0) name (Greeter)
|
||||
---
|
||||
>>> __decorate([
|
||||
>>> PropertyDecorator1,
|
||||
@ -604,8 +606,8 @@ sourceFile:sourceMapValidationDecorators.ts
|
||||
3 > ^^^^^^->
|
||||
1 >
|
||||
2 > PropertyDecorator1
|
||||
1 >Emitted(51, 13) Source(42, 6) + SourceIndex(0) name (Greeter)
|
||||
2 >Emitted(51, 31) Source(42, 24) + SourceIndex(0) name (Greeter)
|
||||
1 >Emitted(53, 13) Source(42, 6) + SourceIndex(0) name (Greeter)
|
||||
2 >Emitted(53, 31) Source(42, 24) + SourceIndex(0) name (Greeter)
|
||||
---
|
||||
>>> PropertyDecorator2(80),
|
||||
1->^^^^^^^^^^^^
|
||||
@ -620,11 +622,11 @@ sourceFile:sourceMapValidationDecorators.ts
|
||||
3 > (
|
||||
4 > 80
|
||||
5 > )
|
||||
1->Emitted(52, 13) Source(43, 6) + SourceIndex(0) name (Greeter)
|
||||
2 >Emitted(52, 31) Source(43, 24) + SourceIndex(0) name (Greeter)
|
||||
3 >Emitted(52, 32) Source(43, 25) + SourceIndex(0) name (Greeter)
|
||||
4 >Emitted(52, 34) Source(43, 27) + SourceIndex(0) name (Greeter)
|
||||
5 >Emitted(52, 35) Source(43, 28) + SourceIndex(0) name (Greeter)
|
||||
1->Emitted(54, 13) Source(43, 6) + SourceIndex(0) name (Greeter)
|
||||
2 >Emitted(54, 31) Source(43, 24) + SourceIndex(0) name (Greeter)
|
||||
3 >Emitted(54, 32) Source(43, 25) + SourceIndex(0) name (Greeter)
|
||||
4 >Emitted(54, 34) Source(43, 27) + SourceIndex(0) name (Greeter)
|
||||
5 >Emitted(54, 35) Source(43, 28) + SourceIndex(0) name (Greeter)
|
||||
---
|
||||
>>> __param(0, ParameterDecorator1),
|
||||
1->^^^^^^^^^^^^
|
||||
@ -642,10 +644,10 @@ sourceFile:sourceMapValidationDecorators.ts
|
||||
2 > @
|
||||
3 > ParameterDecorator1
|
||||
4 >
|
||||
1->Emitted(53, 13) Source(49, 7) + SourceIndex(0) name (Greeter)
|
||||
2 >Emitted(53, 24) Source(49, 8) + SourceIndex(0) name (Greeter)
|
||||
3 >Emitted(53, 43) Source(49, 27) + SourceIndex(0) name (Greeter)
|
||||
4 >Emitted(53, 44) Source(49, 27) + SourceIndex(0) name (Greeter)
|
||||
1->Emitted(55, 13) Source(49, 7) + SourceIndex(0) name (Greeter)
|
||||
2 >Emitted(55, 24) Source(49, 8) + SourceIndex(0) name (Greeter)
|
||||
3 >Emitted(55, 43) Source(49, 27) + SourceIndex(0) name (Greeter)
|
||||
4 >Emitted(55, 44) Source(49, 27) + SourceIndex(0) name (Greeter)
|
||||
---
|
||||
>>> __param(0, ParameterDecorator2(90))
|
||||
1->^^^^^^^^^^^^
|
||||
@ -664,13 +666,13 @@ sourceFile:sourceMapValidationDecorators.ts
|
||||
5 > 90
|
||||
6 > )
|
||||
7 >
|
||||
1->Emitted(54, 13) Source(50, 7) + SourceIndex(0) name (Greeter)
|
||||
2 >Emitted(54, 24) Source(50, 8) + SourceIndex(0) name (Greeter)
|
||||
3 >Emitted(54, 43) Source(50, 27) + SourceIndex(0) name (Greeter)
|
||||
4 >Emitted(54, 44) Source(50, 28) + SourceIndex(0) name (Greeter)
|
||||
5 >Emitted(54, 46) Source(50, 30) + SourceIndex(0) name (Greeter)
|
||||
6 >Emitted(54, 47) Source(50, 31) + SourceIndex(0) name (Greeter)
|
||||
7 >Emitted(54, 48) Source(50, 31) + SourceIndex(0) name (Greeter)
|
||||
1->Emitted(56, 13) Source(50, 7) + SourceIndex(0) name (Greeter)
|
||||
2 >Emitted(56, 24) Source(50, 8) + SourceIndex(0) name (Greeter)
|
||||
3 >Emitted(56, 43) Source(50, 27) + SourceIndex(0) name (Greeter)
|
||||
4 >Emitted(56, 44) Source(50, 28) + SourceIndex(0) name (Greeter)
|
||||
5 >Emitted(56, 46) Source(50, 30) + SourceIndex(0) name (Greeter)
|
||||
6 >Emitted(56, 47) Source(50, 31) + SourceIndex(0) name (Greeter)
|
||||
7 >Emitted(56, 48) Source(50, 31) + SourceIndex(0) name (Greeter)
|
||||
---
|
||||
>>> ], Greeter.prototype, "greetings", Object.getOwnPropertyDescriptor(Greeter.prototype, "greetings")));
|
||||
1->^^^^^^^^^^^
|
||||
@ -685,17 +687,17 @@ sourceFile:sourceMapValidationDecorators.ts
|
||||
5 > () {
|
||||
> return this.greeting;
|
||||
> }
|
||||
1->Emitted(55, 12) Source(44, 9) + SourceIndex(0) name (Greeter)
|
||||
2 >Emitted(55, 42) Source(44, 18) + SourceIndex(0) name (Greeter)
|
||||
3 >Emitted(55, 76) Source(44, 9) + SourceIndex(0) name (Greeter)
|
||||
4 >Emitted(55, 106) Source(44, 18) + SourceIndex(0) name (Greeter)
|
||||
5 >Emitted(55, 110) Source(46, 6) + SourceIndex(0) name (Greeter)
|
||||
1->Emitted(57, 12) Source(44, 9) + SourceIndex(0) name (Greeter)
|
||||
2 >Emitted(57, 42) Source(44, 18) + SourceIndex(0) name (Greeter)
|
||||
3 >Emitted(57, 76) Source(44, 9) + SourceIndex(0) name (Greeter)
|
||||
4 >Emitted(57, 106) Source(44, 18) + SourceIndex(0) name (Greeter)
|
||||
5 >Emitted(57, 110) Source(46, 6) + SourceIndex(0) name (Greeter)
|
||||
---
|
||||
>>> __decorate([
|
||||
1 >^^^^
|
||||
2 > ^^^^^^^^^^^^^^^^^^^^^^^^->
|
||||
1 >
|
||||
1 >Emitted(56, 5) Source(31, 5) + SourceIndex(0) name (Greeter)
|
||||
1 >Emitted(58, 5) Source(31, 5) + SourceIndex(0) name (Greeter)
|
||||
---
|
||||
>>> PropertyDecorator1,
|
||||
1->^^^^^^^^
|
||||
@ -703,8 +705,8 @@ sourceFile:sourceMapValidationDecorators.ts
|
||||
3 > ^^^^^->
|
||||
1->@
|
||||
2 > PropertyDecorator1
|
||||
1->Emitted(57, 9) Source(31, 6) + SourceIndex(0) name (Greeter)
|
||||
2 >Emitted(57, 27) Source(31, 24) + SourceIndex(0) name (Greeter)
|
||||
1->Emitted(59, 9) Source(31, 6) + SourceIndex(0) name (Greeter)
|
||||
2 >Emitted(59, 27) Source(31, 24) + SourceIndex(0) name (Greeter)
|
||||
---
|
||||
>>> PropertyDecorator2(60)
|
||||
1->^^^^^^^^
|
||||
@ -718,11 +720,11 @@ sourceFile:sourceMapValidationDecorators.ts
|
||||
3 > (
|
||||
4 > 60
|
||||
5 > )
|
||||
1->Emitted(58, 9) Source(32, 6) + SourceIndex(0) name (Greeter)
|
||||
2 >Emitted(58, 27) Source(32, 24) + SourceIndex(0) name (Greeter)
|
||||
3 >Emitted(58, 28) Source(32, 25) + SourceIndex(0) name (Greeter)
|
||||
4 >Emitted(58, 30) Source(32, 27) + SourceIndex(0) name (Greeter)
|
||||
5 >Emitted(58, 31) Source(32, 28) + SourceIndex(0) name (Greeter)
|
||||
1->Emitted(60, 9) Source(32, 6) + SourceIndex(0) name (Greeter)
|
||||
2 >Emitted(60, 27) Source(32, 24) + SourceIndex(0) name (Greeter)
|
||||
3 >Emitted(60, 28) Source(32, 25) + SourceIndex(0) name (Greeter)
|
||||
4 >Emitted(60, 30) Source(32, 27) + SourceIndex(0) name (Greeter)
|
||||
5 >Emitted(60, 31) Source(32, 28) + SourceIndex(0) name (Greeter)
|
||||
---
|
||||
>>> ], Greeter, "x1");
|
||||
1 >^^^^^^^
|
||||
@ -733,15 +735,15 @@ sourceFile:sourceMapValidationDecorators.ts
|
||||
> private static
|
||||
2 > x1
|
||||
3 > : number = 10;
|
||||
1 >Emitted(59, 8) Source(33, 20) + SourceIndex(0) name (Greeter)
|
||||
2 >Emitted(59, 21) Source(33, 22) + SourceIndex(0) name (Greeter)
|
||||
3 >Emitted(59, 23) Source(33, 36) + SourceIndex(0) name (Greeter)
|
||||
1 >Emitted(61, 8) Source(33, 20) + SourceIndex(0) name (Greeter)
|
||||
2 >Emitted(61, 21) Source(33, 22) + SourceIndex(0) name (Greeter)
|
||||
3 >Emitted(61, 23) Source(33, 36) + SourceIndex(0) name (Greeter)
|
||||
---
|
||||
>>> Greeter = __decorate([
|
||||
1->^^^^
|
||||
2 > ^^^^^^^^^^^^^^^^^^^^^->
|
||||
1->
|
||||
1->Emitted(60, 5) Source(8, 1) + SourceIndex(0) name (Greeter)
|
||||
1->Emitted(62, 5) Source(8, 1) + SourceIndex(0) name (Greeter)
|
||||
---
|
||||
>>> ClassDecorator1,
|
||||
1->^^^^^^^^
|
||||
@ -749,8 +751,8 @@ sourceFile:sourceMapValidationDecorators.ts
|
||||
3 > ^^^^^^->
|
||||
1->@
|
||||
2 > ClassDecorator1
|
||||
1->Emitted(61, 9) Source(8, 2) + SourceIndex(0) name (Greeter)
|
||||
2 >Emitted(61, 24) Source(8, 17) + SourceIndex(0) name (Greeter)
|
||||
1->Emitted(63, 9) Source(8, 2) + SourceIndex(0) name (Greeter)
|
||||
2 >Emitted(63, 24) Source(8, 17) + SourceIndex(0) name (Greeter)
|
||||
---
|
||||
>>> ClassDecorator2(10),
|
||||
1->^^^^^^^^
|
||||
@ -765,11 +767,11 @@ sourceFile:sourceMapValidationDecorators.ts
|
||||
3 > (
|
||||
4 > 10
|
||||
5 > )
|
||||
1->Emitted(62, 9) Source(9, 2) + SourceIndex(0) name (Greeter)
|
||||
2 >Emitted(62, 24) Source(9, 17) + SourceIndex(0) name (Greeter)
|
||||
3 >Emitted(62, 25) Source(9, 18) + SourceIndex(0) name (Greeter)
|
||||
4 >Emitted(62, 27) Source(9, 20) + SourceIndex(0) name (Greeter)
|
||||
5 >Emitted(62, 28) Source(9, 21) + SourceIndex(0) name (Greeter)
|
||||
1->Emitted(64, 9) Source(9, 2) + SourceIndex(0) name (Greeter)
|
||||
2 >Emitted(64, 24) Source(9, 17) + SourceIndex(0) name (Greeter)
|
||||
3 >Emitted(64, 25) Source(9, 18) + SourceIndex(0) name (Greeter)
|
||||
4 >Emitted(64, 27) Source(9, 20) + SourceIndex(0) name (Greeter)
|
||||
5 >Emitted(64, 28) Source(9, 21) + SourceIndex(0) name (Greeter)
|
||||
---
|
||||
>>> __param(0, ParameterDecorator1),
|
||||
1->^^^^^^^^
|
||||
@ -784,10 +786,10 @@ sourceFile:sourceMapValidationDecorators.ts
|
||||
2 > @
|
||||
3 > ParameterDecorator1
|
||||
4 >
|
||||
1->Emitted(63, 9) Source(12, 7) + SourceIndex(0) name (Greeter)
|
||||
2 >Emitted(63, 20) Source(12, 8) + SourceIndex(0) name (Greeter)
|
||||
3 >Emitted(63, 39) Source(12, 27) + SourceIndex(0) name (Greeter)
|
||||
4 >Emitted(63, 40) Source(12, 27) + SourceIndex(0) name (Greeter)
|
||||
1->Emitted(65, 9) Source(12, 7) + SourceIndex(0) name (Greeter)
|
||||
2 >Emitted(65, 20) Source(12, 8) + SourceIndex(0) name (Greeter)
|
||||
3 >Emitted(65, 39) Source(12, 27) + SourceIndex(0) name (Greeter)
|
||||
4 >Emitted(65, 40) Source(12, 27) + SourceIndex(0) name (Greeter)
|
||||
---
|
||||
>>> __param(0, ParameterDecorator2(20)),
|
||||
1->^^^^^^^^
|
||||
@ -805,13 +807,13 @@ sourceFile:sourceMapValidationDecorators.ts
|
||||
5 > 20
|
||||
6 > )
|
||||
7 >
|
||||
1->Emitted(64, 9) Source(13, 7) + SourceIndex(0) name (Greeter)
|
||||
2 >Emitted(64, 20) Source(13, 8) + SourceIndex(0) name (Greeter)
|
||||
3 >Emitted(64, 39) Source(13, 27) + SourceIndex(0) name (Greeter)
|
||||
4 >Emitted(64, 40) Source(13, 28) + SourceIndex(0) name (Greeter)
|
||||
5 >Emitted(64, 42) Source(13, 30) + SourceIndex(0) name (Greeter)
|
||||
6 >Emitted(64, 43) Source(13, 31) + SourceIndex(0) name (Greeter)
|
||||
7 >Emitted(64, 44) Source(13, 31) + SourceIndex(0) name (Greeter)
|
||||
1->Emitted(66, 9) Source(13, 7) + SourceIndex(0) name (Greeter)
|
||||
2 >Emitted(66, 20) Source(13, 8) + SourceIndex(0) name (Greeter)
|
||||
3 >Emitted(66, 39) Source(13, 27) + SourceIndex(0) name (Greeter)
|
||||
4 >Emitted(66, 40) Source(13, 28) + SourceIndex(0) name (Greeter)
|
||||
5 >Emitted(66, 42) Source(13, 30) + SourceIndex(0) name (Greeter)
|
||||
6 >Emitted(66, 43) Source(13, 31) + SourceIndex(0) name (Greeter)
|
||||
7 >Emitted(66, 44) Source(13, 31) + SourceIndex(0) name (Greeter)
|
||||
---
|
||||
>>> __param(1, ParameterDecorator1),
|
||||
1 >^^^^^^^^
|
||||
@ -826,10 +828,10 @@ sourceFile:sourceMapValidationDecorators.ts
|
||||
2 > @
|
||||
3 > ParameterDecorator1
|
||||
4 >
|
||||
1 >Emitted(65, 9) Source(16, 7) + SourceIndex(0) name (Greeter)
|
||||
2 >Emitted(65, 20) Source(16, 8) + SourceIndex(0) name (Greeter)
|
||||
3 >Emitted(65, 39) Source(16, 27) + SourceIndex(0) name (Greeter)
|
||||
4 >Emitted(65, 40) Source(16, 27) + SourceIndex(0) name (Greeter)
|
||||
1 >Emitted(67, 9) Source(16, 7) + SourceIndex(0) name (Greeter)
|
||||
2 >Emitted(67, 20) Source(16, 8) + SourceIndex(0) name (Greeter)
|
||||
3 >Emitted(67, 39) Source(16, 27) + SourceIndex(0) name (Greeter)
|
||||
4 >Emitted(67, 40) Source(16, 27) + SourceIndex(0) name (Greeter)
|
||||
---
|
||||
>>> __param(1, ParameterDecorator2(30))
|
||||
1->^^^^^^^^
|
||||
@ -847,13 +849,13 @@ sourceFile:sourceMapValidationDecorators.ts
|
||||
5 > 30
|
||||
6 > )
|
||||
7 >
|
||||
1->Emitted(66, 9) Source(17, 7) + SourceIndex(0) name (Greeter)
|
||||
2 >Emitted(66, 20) Source(17, 8) + SourceIndex(0) name (Greeter)
|
||||
3 >Emitted(66, 39) Source(17, 27) + SourceIndex(0) name (Greeter)
|
||||
4 >Emitted(66, 40) Source(17, 28) + SourceIndex(0) name (Greeter)
|
||||
5 >Emitted(66, 42) Source(17, 30) + SourceIndex(0) name (Greeter)
|
||||
6 >Emitted(66, 43) Source(17, 31) + SourceIndex(0) name (Greeter)
|
||||
7 >Emitted(66, 44) Source(17, 31) + SourceIndex(0) name (Greeter)
|
||||
1->Emitted(68, 9) Source(17, 7) + SourceIndex(0) name (Greeter)
|
||||
2 >Emitted(68, 20) Source(17, 8) + SourceIndex(0) name (Greeter)
|
||||
3 >Emitted(68, 39) Source(17, 27) + SourceIndex(0) name (Greeter)
|
||||
4 >Emitted(68, 40) Source(17, 28) + SourceIndex(0) name (Greeter)
|
||||
5 >Emitted(68, 42) Source(17, 30) + SourceIndex(0) name (Greeter)
|
||||
6 >Emitted(68, 43) Source(17, 31) + SourceIndex(0) name (Greeter)
|
||||
7 >Emitted(68, 44) Source(17, 31) + SourceIndex(0) name (Greeter)
|
||||
---
|
||||
>>> ], Greeter);
|
||||
1 >^^^^^^^^^^^^^^^^
|
||||
@ -896,15 +898,15 @@ sourceFile:sourceMapValidationDecorators.ts
|
||||
> this.greeting = greetings;
|
||||
> }
|
||||
>}
|
||||
1 >Emitted(67, 17) Source(54, 2) + SourceIndex(0) name (Greeter)
|
||||
1 >Emitted(69, 17) Source(54, 2) + SourceIndex(0) name (Greeter)
|
||||
---
|
||||
>>> return Greeter;
|
||||
1->^^^^
|
||||
2 > ^^^^^^^^^^^^^^
|
||||
1->
|
||||
2 > }
|
||||
1->Emitted(68, 5) Source(54, 1) + SourceIndex(0) name (Greeter)
|
||||
2 >Emitted(68, 19) Source(54, 2) + SourceIndex(0) name (Greeter)
|
||||
1->Emitted(70, 5) Source(54, 1) + SourceIndex(0) name (Greeter)
|
||||
2 >Emitted(70, 19) Source(54, 2) + SourceIndex(0) name (Greeter)
|
||||
---
|
||||
>>>})();
|
||||
1 >
|
||||
@ -962,9 +964,9 @@ sourceFile:sourceMapValidationDecorators.ts
|
||||
> this.greeting = greetings;
|
||||
> }
|
||||
> }
|
||||
1 >Emitted(69, 1) Source(54, 1) + SourceIndex(0) name (Greeter)
|
||||
2 >Emitted(69, 2) Source(54, 2) + SourceIndex(0) name (Greeter)
|
||||
3 >Emitted(69, 2) Source(8, 1) + SourceIndex(0)
|
||||
4 >Emitted(69, 6) Source(54, 2) + SourceIndex(0)
|
||||
1 >Emitted(71, 1) Source(54, 1) + SourceIndex(0) name (Greeter)
|
||||
2 >Emitted(71, 2) Source(54, 2) + SourceIndex(0) name (Greeter)
|
||||
3 >Emitted(71, 2) Source(8, 1) + SourceIndex(0)
|
||||
4 >Emitted(71, 6) Source(54, 2) + SourceIndex(0)
|
||||
---
|
||||
>>>//# sourceMappingURL=sourceMapValidationDecorators.js.map
|
||||
Loading…
x
Reference in New Issue
Block a user