Skip to content

Commit

Permalink
chore: Enable verbatimModuleSyntax in tsconfig.json and add type …
Browse files Browse the repository at this point in the history
…prefixes
  • Loading branch information
MonsterDeveloper committed Jul 18, 2024
1 parent d4c24fa commit ca33ce5
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 9 deletions.
16 changes: 8 additions & 8 deletions src/hook/index.tsx
Original file line number Diff line number Diff line change
@@ -1,22 +1,22 @@
import React, {
FormEvent,
ReactNode,
type FormEvent,
type ReactNode,
useEffect,
useMemo,
useState,
} from "react";
import {
FetcherWithComponents,
SubmitFunction,
type FetcherWithComponents,
type SubmitFunction,
useActionData,
useSubmit,
useNavigation,
FormEncType,
FormMethod,
type FormEncType,
type FormMethod,
} from "@remix-run/react";
import {
SubmitErrorHandler,
SubmitHandler,
type SubmitErrorHandler,
type SubmitHandler,
useFormContext,
} from "react-hook-form";
import { useForm, FormProvider } from "react-hook-form";
Expand Down
4 changes: 3 additions & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,9 @@

/* Completeness */
// "skipDefaultLibCheck": true, /* Skip type checking .d.ts files that are included with TypeScript. */
"skipLibCheck": true /* Skip type checking all .d.ts files. */
"skipLibCheck": true, /* Skip type checking all .d.ts files. */

"verbatimModuleSyntax": true, /* Require `type` prefix for type-only imports */
},
"exclude": [
"./bin/**/*.test.ts",
Expand Down

0 comments on commit ca33ce5

Please sign in to comment.