You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
run after babel-plugin-parameter-decorator compile
I am parameter1 decorator2
I am parameter2 decorator2
I am parameter1 decorator
I am parameter2 decorator
I am method decorator2
I am property decorator
I am method decorator
I am class decorator
I am parameter2 decorator2
I am parameter1 decorator2
I am method decorator2
I am property decorator
I am parameter2 decorator
I am parameter1 decorator
I am method decorator
I am class decorator
The text was updated successfully, but these errors were encountered:
`function ClassDecorator() {
return function (target) {
console.log("I am class decorator");
};
}
function MethodDecorator() {
return function (target, methodName: string, descriptor: PropertyDescriptor) {
console.log("I am method decorator");
};
}
function Param1Decorator() {
return function (target, methodName: string, paramIndex: number) {
console.log("I am parameter1 decorator");
};
}
function Param2Decorator2() {
return function (target, methodName: string, paramIndex: number) {
console.log("I am parameter2 decorator2");
};
}
function MethodDecorator2() {
return function (target, methodName: string, descriptor: PropertyDescriptor) {
console.log("I am method decorator2");
};
}
function Param1Decorator2() {
return function (target, methodName: string, paramIndex: number) {
console.log("I am parameter1 decorator2");
};
}
function Param2Decorator() {
return function (target, methodName: string, paramIndex: number) {
console.log("I am parameter2 decorator");
};
}
function PropertyDecorator() {
return function (target, propertyName: string) {
console.log("I am property decorator");
};
}
@ClassDecorator()
class Hello {
@MethodDecorator2()
greet2(@Param1Decorator2() p1: string, @Param2Decorator2() p2: string) { }
}`
run after babel-plugin-parameter-decorator compile
I am parameter1 decorator2
I am parameter2 decorator2
I am parameter1 decorator
I am parameter2 decorator
I am method decorator2
I am property decorator
I am method decorator
I am class decorator
run on typescript playground: https://www.typescriptlang.org/play/?noImplicitAny=false&alwaysStrict=false&declaration=false&experimentalDecorators=true&target=7#
I am parameter2 decorator2
I am parameter1 decorator2
I am method decorator2
I am property decorator
I am parameter2 decorator
I am parameter1 decorator
I am method decorator
I am class decorator
The text was updated successfully, but these errors were encountered: