Skip to content
View adriangabardo's full-sized avatar
:octocat:
:octocat:
  • Australia
Block or Report

Block or report adriangabardo

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

Pinned Loading

  1. A gist with examples of how to creat... A gist with examples of how to create a higher-order component that receives a method with a generic spread variable parameter, and how to type constrain said spread
    1
    /**
    2
     * Example of a higher-order component with type-safety for functions with generic spread variables.
    3
     * In this example, the HOC is a function to create AWS Lambda (for AWS API Gateway) function handlers.
    4
     * All AWS Lambda exported handlers receive an (event, context) set of parameters.
    5
     *
  2. Example of a generic type alias that... Example of a generic type alias that transforms a given type into a nullable type (including sub-properties in case of objects)
    1
    /**
    2
     * Type alias to recursively make all properties of an object optionally undefined or null.
    3
     * Adds | undefined | null to all objects and its properties.
    4
     */
    5
    type DeepNullable<T> = T extends object
  3. mime-sniff mime-sniff Public

    TypeScript 1 1

  4. casino-royale casino-royale Public

    Poker hand counting

    TypeScript 1

  5. bad-grandma bad-grandma Public

    Randomized image processing with Canvas API

    TypeScript 1

  6. ghmarkdown ghmarkdown Public

    A NextJS application to render markdown files from GitHub

    TypeScript