Skip to content

Commit 8b1cdde

Browse files
authored
fix:change typescript url (#9093)
1 parent f4c4d99 commit 8b1cdde

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

packages/svelte/scripts/globals-extractor.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ const GLOBAL_TS_PATH = './src/compiler/utils/globals.js';
1616
const SPECIALS = ['global', 'globalThis', 'InternalError', 'process', 'undefined'];
1717

1818
const get_url = (name) =>
19-
`https://raw.githubusercontent.com/microsoft/TypeScript/main/lib/lib.${name}.d.ts`;
19+
`https://raw.githubusercontent.com/microsoft/TypeScript/main/src/lib/${name}.d.ts`;
2020
const extract_name = (split) => split.match(/^[a-zA-Z0-9_$]+/)[0];
2121

2222
const extract_functions_and_references = (name, data) => {

packages/svelte/src/compiler/utils/globals.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/** ----------------------------------------------------------------------
22
This file is automatically generated by `scripts/globals-extractor.js`.
3-
Generated At: 2023-05-24T13:16:20.777Z
3+
Generated At: 2023-08-11T04:11:50.562Z
44
---------------------------------------------------------------------- */
55

66
export default new Set([

0 commit comments

Comments
 (0)