Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions examples/misc/express/valibot/fetch.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import type { PathMap } from "../../spec/valibot";
import JSONT from "@notainc/typed-api-spec/json";
import type FetchT from "@notainc/typed-api-spec/fetch";
import type { JSONT } from "@notainc/typed-api-spec/json";
import type { FetchT } from "@notainc/typed-api-spec/fetch";

const fetchT = fetch as FetchT<typeof origin, PathMap>;
const origin = "http://localhost:3000";
Expand Down
4 changes: 2 additions & 2 deletions examples/misc/express/zod/fetch.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import type { PathMap } from "../../spec/zod";
import JSONT from "@notainc/typed-api-spec/json";
import type FetchT from "@notainc/typed-api-spec/fetch";
import type { JSONT } from "@notainc/typed-api-spec/json";
import type { FetchT } from "@notainc/typed-api-spec/fetch";

const fetchT = fetch as FetchT<typeof origin, PathMap>;
const origin = "http://localhost:3000";
Expand Down
4 changes: 2 additions & 2 deletions examples/misc/fastify/zod/fetch.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import JSONT from "@notainc/typed-api-spec/json";
import type FetchT from "@notainc/typed-api-spec/fetch";
import type { JSONT } from "@notainc/typed-api-spec/json";
import type { FetchT } from "@notainc/typed-api-spec/fetch";
import { PathMap } from "../../spec/zod";

const fetchT = fetch as FetchT<typeof origin, PathMap>;
Expand Down
Loading