anurag06557
03/06/2024, 11:52 AMexport class SupertokensService {
constructor(@Inject(ConfigInjectionToken) private config: AuthModuleConfig) {
supertokens.init({
debug: true,
appInfo: config.appInfo,
supertokens: {
connectionURI: config.connectionURI,
apiKey: config.apiKey,
},
recipeList: SuperTokensConfig.recipeList,
});
}
}
but not able to as i am getting error
Argument of type '{ debug: boolean; appInfo: AppInfo; supertokens: { connectionURI: string; apiKey: string; }; recipeList: RecipeListFunction[]; }' is not assignable to parameter of type 'TypeInput'.
Object literal may only specify known properties, and 'debug' does not exist in type 'TypeInput'.
10 debug: true,
~~~~~~~~~~~
rp_st
03/06/2024, 4:19 PMSUPERTOKENS_DEBUG=1
when you start the node processanurag06557
03/07/2024, 4:01 AM