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

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.

Maximum 250 characters. Please don’t include any personal information such as legal names or email addresses. Markdown is supported. This note will only be visible to 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 15 4

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

    You will never have to write console.log again!

    JavaScript 3

  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
    };