Skip to content
View temoncher's full-sized avatar
🐢
🐢

Block or report temoncher

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. eslint-plugin-clsx eslint-plugin-clsx Public

    ESLint plugin for clsx/classnames

    TypeScript 11 1

  2. babel-plugin-log-expressions babel-plugin-log-expressions Public

    You will never have to write console.log again!

    JavaScript 2

  3. jsx tagged template for inline text jsx tagged template for inline text
    1
    /**
    2
     * @example
    3
     *
    4
     *      const red = (text) => <span style={{ backgroundColor: 'red', color: 'white', padding: '8px' }}>{text}</span>;
    5
     *
  4. `isEnum` typeguard `isEnum` typeguard
    1
    export const isEnum = <T extends string | number, TEnumValue extends string>(enumVariable: { [key in T]: TEnumValue }) => {
    2
      const enumValues = Object.values(enumVariable);
    3
    
                  
    4
      return (value: unknown): value is TEnumValue => (typeof value === 'string' || typeof value === 'number') && enumValues.includes(value);
    5
    };