2
Answers

to create a Custom decorator

Rakesh Singh

Rakesh Singh

7y
149
1
please suggest me, how  to create a custom decorator in Angular 1/2/4 ? 
 
It could be method decorator , class decorator or property decorator. 
 
Thanks in Advance !
Answers (2)
0
Kirtan Patel

Kirtan Patel

NA 35k 2.8m 14y
'this' is Pointer not operator ..

by operator overloading mechanism you can overload operators only not the pointers



Here is list of operator that is over loadable ...

+ - * / % ^ & | ~
! , = < > <= >= ++ --
<< >> == != && || += -= /=
%= ^= &= |= *= <<= >>= [] ()
-> ->* new new[] delete delete[]