Skip to content

Commit

Permalink
Remove type only imports
Browse files Browse the repository at this point in the history
  • Loading branch information
Colin McDonnell committed May 22, 2022
1 parent 0b4bc1d commit 847cedf
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 21 deletions.
11 changes: 3 additions & 8 deletions deno/lib/helpers/parseUtil.ts
Original file line number Diff line number Diff line change
@@ -1,11 +1,6 @@
import {
type IssueData,
type ZodErrorMap,
type ZodIssue,
defaultErrorMap,
overrideErrorMap,
} from "../ZodError.ts";
import { type ZodParsedType } from "./util.ts";
import type { IssueData, ZodErrorMap, ZodIssue } from "../ZodError.ts";
import { defaultErrorMap, overrideErrorMap } from "../ZodError.ts";
import type { ZodParsedType } from "./util.ts";

export const makeIssue = (params: {
data: any;
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@
"ts-morph": "^14.0.0",
"ts-node": "^10.7.0",
"tslib": "^2.3.1",
"typescript": "^4.6.2"
"typescript": "4.1"
},
"lint-staged": {
"src/*.ts": [
Expand Down
11 changes: 3 additions & 8 deletions src/helpers/parseUtil.ts
Original file line number Diff line number Diff line change
@@ -1,11 +1,6 @@
import {
type IssueData,
type ZodErrorMap,
type ZodIssue,
defaultErrorMap,
overrideErrorMap,
} from "../ZodError";
import { type ZodParsedType } from "./util";
import type { IssueData, ZodErrorMap, ZodIssue } from "../ZodError";
import { defaultErrorMap, overrideErrorMap } from "../ZodError";
import type { ZodParsedType } from "./util";

export const makeIssue = (params: {
data: any;
Expand Down
8 changes: 4 additions & 4 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -4783,10 +4783,10 @@ typedarray-to-buffer@^3.1.5:
dependencies:
is-typedarray "^1.0.0"

typescript@^4.6.2:
version "4.6.2"
resolved "https://registry.yarnpkg.com/typescript/-/typescript-4.6.2.tgz#fe12d2727b708f4eef40f51598b3398baa9611d4"
integrity sha512-HM/hFigTBHZhLXshn9sN37H085+hQGeJHJ/X7LpBWLID/fbc2acUMfU+lGD98X81sKP+pFa9f0DZmCwB9GnbAg==
typescript@4.1:
version "4.1.6"
resolved "https://registry.yarnpkg.com/typescript/-/typescript-4.1.6.tgz#1becd85d77567c3c741172339e93ce2e69932138"
integrity sha512-pxnwLxeb/Z5SP80JDRzVjh58KsM6jZHRAOtTpS7sXLS4ogXNKC9ANxHHZqLLeVHZN35jCtI4JdmLLbLiC1kBow==

uglify-js@^3.1.4:
version "3.14.3"
Expand Down

0 comments on commit 847cedf

Please sign in to comment.