chore: fix all Typescript warnings (#8618)
* [CAL-1517] fix all Typescript warnings * solve conflicts * Update stripeCheckoutSession.handler.ts Parse is a guard, so even though the variable is unused the parse itself is needed. * Update ToolbarPlugin.tsx Don't change dependency tree --------- Co-authored-by: gitstart-calcom <[email protected]> Co-authored-by: Peer Richelsen <[email protected]> Co-authored-by: Alex van Andel <[email protected]>
This commit is contained in:
106 files changed
+425
-319
No files matched your search
@@ -1,5 +1,9 @@
|
||||
import { execSync } from "child_process";
|
||||
|
||||
type Err = {
|
||||
stdout: string;
|
||||
};
|
||||
|
||||
const diff = execSync(`git diff --name-only origin/main HEAD`).toString();
|
||||
|
||||
const files = diff
|
||||
@@ -18,7 +22,7 @@ try {
|
||||
|
||||
console.log("😻 No errors!");
|
||||
} catch (_err) {
|
||||
const err = _err as any;
|
||||
const err = _err as Err;
|
||||
|
||||
const output = err.stdout.toString() as string;
|
||||
|
||||
|
||||
Reference in new issue
Block a user