Skip to content

Instantly share code, notes, and snippets.

Avatar

Philippe Lhoste PhiLhoSoft

View GitHub Profile
@btroncone
btroncone / rxjs_operators_by_example.md
Last active Jan 14, 2021
RxJS 5 Operators By Example
View rxjs_operators_by_example.md
@remojansen
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);
}