From 82cc6b8c70830ada461f5b9b6df7c6a97b8f4515 Mon Sep 17 00:00:00 2001
From: Niccolo Borgioli <hi@nicco.io>
Date: Tue, 31 Jan 2023 01:30:31 +0100
Subject: [PATCH] remove synthetic imports

---
 lib/index.ts  | 3 ++-
 tsconfig.json | 3 +--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/lib/index.ts b/lib/index.ts
index 994ebb7..aaf7a11 100644
--- a/lib/index.ts
+++ b/lib/index.ts
@@ -1,4 +1,5 @@
-import React, { useEffect, useState } from 'react'
+import * as React from 'react'
+import { useEffect, useState } from 'react'
 
 export type FieldOptions<G extends string = 'onChange', S extends string = 'value'> = {
   extractor?: useFormExtractor
diff --git a/tsconfig.json b/tsconfig.json
index f3a6127..fc48d8b 100644
--- a/tsconfig.json
+++ b/tsconfig.json
@@ -6,8 +6,7 @@
     "jsx": "react",
     "outDir": "./dist",
     "declaration": true,
-    "strict": true,
-    "allowSyntheticDefaultImports": true
+    "strict": true
   },
   "include": ["./lib"]
 }