rp_st
12/13/2020, 8:48 AMts
let connectionURI: string | undefined = process.env.SUPERTOKENS_URI;
if (connectionURI === undefined) {
throw new Error("Please provide the SuperTokens connectionURI");
}
supertokens.init({...})
This way, I think TS will stop throwing the error.