Skip to content

v1.2.0

Compare
Choose a tag to compare
@lukeed lukeed released this 02 Jul 23:13
· 27 commits to master since this release

Features

  • Add named clsx export alias (#43, #44): 56ab81f
    Thank you @danikaze~!

    This is purely an alias for the default export so that TypeScript users can avoid the esModuleInterop setting. In other words, the follow import statements are effectively identical, but the latter is preferred by TypeScript:

    import clsx from 'clsx';
    // or
    import { clsx } from 'clsx';

    Important: Just to reiterate, both still work!

Chores


Full Changelog: v1.1.1...v1.2.0