Skip to content

Commit 2e1ab5a

Browse files
committed
re add missing session object
1 parent 320e193 commit 2e1ab5a

2 files changed

Lines changed: 6 additions & 1 deletion

File tree

application/CohortManager/src/Web/app/types/auth/index.d.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,11 @@ declare module "next-auth" {
1010
workgroups?: string[];
1111
workgroups_codes?: string[];
1212
}
13+
interface Session {
14+
user?: DefaultSession["user"] & User;
15+
accessToken?: string;
16+
idToken?: string;
17+
}
1318
}
1419

1520
export interface DecodedCIS2Token {

application/CohortManager/src/Web/tsconfig.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
"moduleResolution": "bundler",
1717
"resolveJsonModule": true,
1818
"isolatedModules": true,
19-
"jsx": "preserve",
19+
"jsx": "react-jsx",
2020
"incremental": true,
2121
"plugins": [
2222
{

0 commit comments

Comments
 (0)