This plugin adds typed-redux-saga macro support for SWC.
Tested with Next.js version v14.2.2
Install the package:
# yarn
yarn add swc-plugin-typed-redux-saga
or
# npm
npm install swc-plugin-typed-redux-saga
And update next.config.js:
// next.config.js
module.exports = {
experimental: {
swcPlugins: [
[require.resolve("swc-plugin-typed-redux-saga"), {}]
],
}
}