Skip to content

Commit

Permalink
🐛 update type imports
Browse files Browse the repository at this point in the history
  • Loading branch information
w3cj committed Oct 16, 2024
1 parent ed0f0bd commit 4816f43
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/openapi/helpers/json-content-one-of.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import type { ZodSchema } from "./types";
import type { ZodSchema } from "./types.ts";

import oneOf from "./one-of.js";

Expand Down
2 changes: 1 addition & 1 deletion src/openapi/helpers/json-content-required.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import type { ZodSchema } from "./types";
import type { ZodSchema } from "./types.ts";

import jsonContent from "./json-content.js";

Expand Down
2 changes: 1 addition & 1 deletion src/openapi/helpers/json-content.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import type { ZodSchema } from "./types";
import type { ZodSchema } from "./types.ts";

const jsonContent = <
T extends ZodSchema,
Expand Down
2 changes: 1 addition & 1 deletion src/openapi/helpers/one-of.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import {
OpenAPIRegistry,
} from "@asteasolutions/zod-to-openapi";

import type { ZodSchema } from "./types";
import type { ZodSchema } from "./types.ts";

const oneOf = <
T extends ZodSchema,
Expand Down
2 changes: 1 addition & 1 deletion src/openapi/schemas/create-error-schema.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { z } from "@hono/zod-openapi";

import type { ZodSchema } from "../helpers/types";
import type { ZodSchema } from "../helpers/types.ts";

const createErrorSchema = <
T extends ZodSchema,
Expand Down

0 comments on commit 4816f43

Please sign in to comment.