Skip to content

Commit 0d49149

Browse files
committed
revert lib stuff
1 parent ee69910 commit 0d49149

File tree

2 files changed

+0
-6
lines changed

2 files changed

+0
-6
lines changed

assets/js/editor/lib/es5.dts.js

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
// https://github.com/microsoft/TypeScript/blob/main/lib/lib.es5.d.ts
22
export default `
3-
4-
53
interface Array<T> {
64
/**
75
* Gets or sets the length of the array. This is a number one higher than the highest index in the array.
@@ -180,9 +178,6 @@ interface Array<T> {
180178
*/
181179
reduceRight<U>(callbackfn: (previousValue: U, currentValue: T, currentIndex: number, array: T[]) => U, initialValue: U): U;
182180
183-
// JC copied out of VSC core. Needed to support union types apparently
184-
copyWithin(target: number, start: number, end?: number): this;
185-
186181
// JC note that this is the only thing we actually need to get the types to track
187182
// we could ditch the rest of the definition (if no-one wants to code-complete array.length)
188183
[n: number]: T;

assets/js/editor/lib/es5.min.dts.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
// Super minimal array definition to support typings
22
export default `
33
interface Array<T> {
4-
copyWithin(target: number, start: number, end?: number): this;
54
[n: number]: T;
65
}
76

0 commit comments

Comments
 (0)