Skip to content
View GaetanRdn's full-sized avatar
✌️
Too many ideas, not enough time
✌️
Too many ideas, not enough time
  • ReCowd
  • Nantes

Block or report GaetanRdn

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Please don't include any personal information such as legal names or email addresses. Maximum 100 characters, markdown supported. This note will be visible to only you.
Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse
GaetanRdn/README.md

Hi there 👋

Pinned Loading

  1. auto-unsubscribe.decorator.ts auto-unsubscribe.decorator.ts
    1
    import { Subscription } from 'rxjs';
    2
    
                  
    3
    /**
    4
     * Allows to auto unsubscribe from Observables.
    5
     *
  2. Allow to coerce boolean input, this ... Allow to coerce boolean input, this decorator can Be applied on property or setter
    1
    export function CoerceBoolean() {
    2
      return function(target: any, key: string, propertyDescriptor?: PropertyDescriptor): void {
    3
        if (!!propertyDescriptor && !!propertyDescriptor.set) {
    4
          const original = propertyDescriptor.set;
    5
    
                  
  3. testing-create-component.ts testing-create-component.ts
    1
    import { Type } from '@angular/core';
    2
    import { ComponentFixture, TestBed, TestModuleMetadata } from '@angular/core/testing';
    3
    
                  
    4
    const isTestModuleMetadata = (val: unknown): val is TestModuleMetadata =>
    5
        (val as any).declarations || (val as any).imports || (val as any).providers;
  4. git-aliases git-aliases
    1
    git config --list | grep alias
    2
    alias.undo=reset --soft HEAD^
    3
    alias.new=checkout -b
    4
    alias.co=checkout
    5
    alias.st=status
  5. required-inputs.decorator.ts required-inputs.decorator.ts
    1
    export function RequiredInputs(...inputs: string[]) {
    2
        return function (constructor: any) {
    3
            const original = constructor.prototype.ngOnInit;
    4
    
                  
    5
            constructor.prototype.ngOnInit = function () {