# clsx v1.2.0 - Product: clsx (https://whatsnew.fyi/product/clsx) - Vendor: Luke Edwards - Date: 2022-07-02 - Version: v1.2.0 - Original notes: https://github.com/lukeed/clsx/releases/tag/v1.2.0 - Permalink: https://whatsnew.fyi/product/clsx/releases/v1.2.0 What's New is an index, not a publisher: every entry below links to the vendor's own release notes, which are the authoritative source. Entries are labelled where they are hand-curated sample data, pre-releases, or drawn from a secondary source such as a developer blog. Reuse: the summaries, labels and curation here are © What's New. Quote freely with attribution and a link back; wholesale republication of the corpus is not permitted — terms: https://whatsnew.fyi/terms. The vendors' own release notes remain their publishers'. --- ##### 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: ```js import clsx from 'clsx'; // or import { clsx } from 'clsx'; ``` > **Important:** Just to reiterate, both still work! ##### Chores - Migrate from `tape` to [`uvu`](https://github.com/lukeed/uvu) for tests: 1c36d10 - Add Node 14 and Node 16 to CI test matrix: bc4f827 - Update "string variadic" tests (#30): 74cefa6 _Thank you @gingerrific~!_ - Enable [GitHub Sponsors](https://github.com/sponsors/lukeed) button: 400b848 --- > **Full Changelog**: https://github.com/lukeed/clsx/compare/v1.1.1...v1.2.0