From f080e129db8c247924be3b3d6a93a337cc84ebd4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Greg=20Berg=C3=A9?= Date: Fri, 25 Aug 2023 20:57:07 +0200 Subject: [PATCH] chore: fix types --- apps/stripe/src/index.ts | 2 +- package.json | 2 +- tsconfig.json | 1 + 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/apps/stripe/src/index.ts b/apps/stripe/src/index.ts index 5d9399a0b..fed73101b 100644 --- a/apps/stripe/src/index.ts +++ b/apps/stripe/src/index.ts @@ -100,7 +100,7 @@ const timestampToISOString = (date: number) => new Date(date * 1000).toISOString(); export const stripe = new Stripe(config.get("stripe.apiKey"), { - apiVersion: "2022-11-15", + apiVersion: "2023-08-16", typescript: true, }); diff --git a/package.json b/package.json index 6d87dfd24..8c69b60a8 100644 --- a/package.json +++ b/package.json @@ -54,6 +54,6 @@ "vitest": "^0.34.3" }, "volta": { - "node": "18.17.0" + "node": "18.17.1" } } diff --git a/tsconfig.json b/tsconfig.json index 318d3a216..cba65d55d 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -2,6 +2,7 @@ "$schema": "https://json.schemastore.org/tsconfig", "extends": "@tsconfig/node18-strictest-esm/tsconfig.json", "compilerOptions": { + "module": "NodeNext", "moduleResolution": "NodeNext", "typeRoots": ["./apps/*/types", "./node_modules/@types"], "paths": {