Enable stricter typescript (#1241)

This commit is contained in:
Abhinav Kumar 2023-07-11 14:22:31 +05:30 committed by GitHub
commit 61c59e978e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 5 deletions

View file

@ -163,7 +163,7 @@ export async function updateSubscription(
export async function cancelSubscription(
setDialogMessage: SetDialogBoxAttributes,
closePlanSelectorModal: () => null,
closePlanSelectorModal: () => void,
setLoading: SetLoading
) {
try {
@ -188,7 +188,7 @@ export async function cancelSubscription(
export async function activateSubscription(
setDialogMessage: SetDialogBoxAttributes,
closePlanSelectorModal: () => null,
closePlanSelectorModal: () => void,
setLoading: SetLoading
) {
try {

View file

@ -6,13 +6,10 @@
"jsx": "preserve",
"jsxImportSource": "@emotion/react",
"lib": ["dom", "dom.iterable", "esnext", "webworker"],
"noFallthroughCasesInSwitch": false,
"noImplicitAny": false,
"noUnusedLocals": false,
"noUnusedParameters": false,
"strictBindCallApply": false,
"strictNullChecks": false,
"strictPropertyInitialization": false,
"target": "es5",
"useUnknownInCatchVariables": false
},