We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d3f278a commit a998992Copy full SHA for a998992
globals.d.ts
@@ -0,0 +1,9 @@
1
+declare namespace NodeJS {
2
+ // By default, Typescript does not have sessionStorage on the Global type. We add it here.
3
+ interface Global {
4
+ sessionStorage: {
5
+ getItem: (key: string) => string
6
+ setItem: (key: string, value: string) => void
7
+ }
8
9
+}
0 commit comments