Skip to content
View karol-majewski's full-sized avatar

Organizations

@WrocTypeScript

Block or report karol-majewski

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
karol-majewski/README.md

Hi 👋

My name is Karol. I help ideas realize in the digital space.

Recent interests

Product design, web3, thoughtware, protocols, incentive design, coordination mechanisms, cognition, and organisation design.

Elsewhere

Catch me on Twitter, StackOverflow, and LinkedIn. Or steal a TypeScript trick from my GitHub gists.

Pinned Loading

  1. refinements refinements Public

    Bulletproof type guards in TypeScript.

    TypeScript 5

  2. TypeScript-Library-Checklist TypeScript-Library-Checklist Public

    Your pre-launch checklist.

    21 1

  3. Type inference for literal types wit... Type inference for literal types with Object.fromEntries
    1
    type Primitive =
    2
      | boolean
    3
      | number
    4
      | string
    5
      | bigint
  4. Functional composition for React props Functional composition for React props
    1
    import * as React from 'react';
    2
    
                  
    3
    type Omit<T, K extends keyof T> = Pick<T, Exclude<keyof T, K>>;
    4
    
                  
    5
    /**
  5. Builder pattern in TypeScript (https... Builder pattern in TypeScript (https://stackoverflow.com/a/53982272/10325032)
    1
    /**
    2
     * The shape we are building.
    3
     */
    4
    interface IPoint {
    5
      x: number;
  6. Typed React children Typed React children
    1
    interface OptionProps {
    2
      id: string;
    3
    }
    4
    
                  
    5
    interface SelectProps {