js
/**
* 'export *' does not re-export a default.
* import NextJS from "supertokens-node/nextjs";
* the above import statement won't be possible unless either
* - user add "esModuleInterop": true in their tsconfig.json file
* - we do the following change:
*/
If it's of any interest,
Copy code
ts
export { default as EXPORT_NAME } from "./FILE_PATH";
is valid. Of course, that has to be placed alongside an
export *
statement.
Copy code
ts
export * from "./FILE_PATH";
export { default as EXPORT_NAME } from "./FILE_PATH";
Not sure what the context of the comment was, so that might not help anything. Just figured it was worth noting just in case.
SuperTokens is an open source authentication solution offering features like: Different types of login: Email / password, Passwordless (OTP or Magic link based).