From 0cd86d8194cb09c8c1cd761a9d3b7700e0e0b33d Mon Sep 17 00:00:00 2001 From: Tom Lienard Date: Fri, 14 Jul 2023 08:25:39 +0200 Subject: [PATCH] fix(examples): tsc errors (#63) --- packages/next-international/tsconfig.json | 6 ++++++ tsconfig.json | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) create mode 100644 packages/next-international/tsconfig.json diff --git a/packages/next-international/tsconfig.json b/packages/next-international/tsconfig.json new file mode 100644 index 0000000..7319adb --- /dev/null +++ b/packages/next-international/tsconfig.json @@ -0,0 +1,6 @@ +{ + "extends": "../../tsconfig.json", + "compilerOptions": { + "jsx": "react" + } +} diff --git a/tsconfig.json b/tsconfig.json index d015e57..e0b5972 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -15,7 +15,7 @@ "DOM.Iterable", "ESNext" ], /* Specify a set of bundled library declaration files that describe the target runtime environment. */ - "jsx": "react", /* Specify what JSX code is generated. */ + "jsx": "preserve", /* Specify what JSX code is generated. */ // "experimentalDecorators": true, /* Enable experimental support for TC39 stage 2 draft decorators. */ // "emitDecoratorMetadata": true, /* Emit design-type metadata for decorated declarations in source files. */ // "jsxFactory": "", /* Specify the JSX factory function used when targeting React JSX emit, e.g. 'React.createElement' or 'h' */