Skip to content

Commit

Permalink
fix: monaco types
Browse files Browse the repository at this point in the history
  • Loading branch information
okikio authored Nov 9, 2021
1 parent edeaa1e commit 760ecf9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ts/modules/monaco.ts
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@ export const build = () => {
if (!FetchCache.has(url)) {
response = await fetch(url);
result = await response.json();
FetchCache.set(url, await response.text());
FetchCache.set(url, JSON.stringify(result));
} else {
result = JSON.parse(FetchCache.get(url));
}
Expand Down

1 comment on commit 760ecf9

@vercel
Copy link

@vercel vercel bot commented on 760ecf9 Nov 9, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.