Skip to content

Commit

Permalink
feat: add react d.ts lib
Browse files Browse the repository at this point in the history
  • Loading branch information
MatthewChenShow authored Apr 25, 2024
1 parent 0e3ed93 commit 13fb954
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils/initEditor.ts
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ let isAddDefaultsLibs = false;
export async function addExtraLibs(extraLibs: Array<{ url: string; path: string; }>) {
if (!isAddDefaultsLibs) {
extraLibs = [{
url: `${ASSETSPATH}@types/react/index.d.ts`,
url: `https://d2.music.126.net/dmusic/obj/w5zCg8OAw6HDjzjDgMK_/35499940420/bc86/65fe/7be4/17172939804db04c61e2cc7a97751f4e.ts?download=react.d.ts`,
path: 'music:/node_modules/@types/react/index.d.ts'
}, {
url: `${ASSETSPATH}@types/react/global.d.ts`,
Expand Down

0 comments on commit 13fb954

Please sign in to comment.