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" + } +}