Skip to content

Commit 7879199

Browse files
authored
Fix minor typo (#99)
1 parent 75e7c8a commit 7879199

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

examples/frontend/src/github/githubFetcher.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ export async function githubFetch<
6767
if (response.headers.get("content-type")?.includes("json")) {
6868
return await response.json();
6969
} else {
70-
// if it is not a json response, asume it is a blob and cast it to TData
70+
// if it is not a json response, assume it is a blob and cast it to TData
7171
return (await response.blob()) as unknown as TData;
7272
}
7373
} catch (e) {

plugins/typescript/src/templates/fetcher.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ export async function ${camel(prefix)}Fetch<
101101
if (response.headers.get('content-type')?.includes('json')) {
102102
return await response.json();
103103
} else {
104-
// if it is not a json response, asume it is a blob and cast it to TData
104+
// if it is not a json response, assume it is a blob and cast it to TData
105105
return (await response.blob()) as unknown as TData;
106106
}
107107
} catch (e) {

0 commit comments

Comments
 (0)