File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
examples/frontend/src/github
plugins/typescript/src/templates Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff 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 ) {
Original file line number Diff line number Diff 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) {
You can’t perform that action at this time.
0 commit comments