From 4be20af17698d0160b172ba5248a6405be662909 Mon Sep 17 00:00:00 2001 From: ambar Date: Sat, 4 Sep 2021 18:44:21 +0800 Subject: [PATCH] chore: add example/tsconfig.json --- example/src/{Logo.jsx => Logo.tsx} | 0 example/src/{utils.js => utils.ts} | 0 example/tsconfig.json | 7 +++++++ 3 files changed, 7 insertions(+) rename example/src/{Logo.jsx => Logo.tsx} (100%) rename example/src/{utils.js => utils.ts} (100%) create mode 100644 example/tsconfig.json diff --git a/example/src/Logo.jsx b/example/src/Logo.tsx similarity index 100% rename from example/src/Logo.jsx rename to example/src/Logo.tsx diff --git a/example/src/utils.js b/example/src/utils.ts similarity index 100% rename from example/src/utils.js rename to example/src/utils.ts diff --git a/example/tsconfig.json b/example/tsconfig.json new file mode 100644 index 00000000..7aebaa03 --- /dev/null +++ b/example/tsconfig.json @@ -0,0 +1,7 @@ +{ + "extends": "../tsconfig.json", + "compilerOptions": { + "esModuleInterop": true, + "jsx": "react" + } +}