Skip to content

Instantly share code, notes, and snippets.


Philippe Lhoste PhiLhoSoft

View GitHub Profile
btroncone /
Last active Jan 14, 2021
RxJS 5 Operators By Example
remojansen / class_decorator.ts
Last active Jan 25, 2021
TypeScript Decorators Examples
View class_decorator.ts
function logClass(target: any) {
// save a reference to the original constructor
var original = target;
// a utility function to generate instances of a class
function construct(constructor, args) {
var c : any = function () {
return constructor.apply(this, args);