diff --git a/csswg/contain.d.ts b/csswg/contain.d.ts
index b8c5f74..72326d3 100644
--- a/csswg/contain.d.ts
+++ b/csswg/contain.d.ts
@@ -3,17 +3,8 @@
// Specification: https://drafts.csswg.org/css-contain-2/
// Repository: https://github.com/w3c/csswg-drafts/tree/main/css-contain-2
-declare class ContentVisibilityAutoStateChangedEvent extends Event {
- constructor(type: string, eventInitDict?: ContentVisibilityAutoStateChangedEventInit);
- readonly skipped: boolean;
-}
-
-declare var oncontentvisibilityautostatechanged: ContentVisibilityAutoStateChangedEvent | null;
+declare var oncontentvisibilityautostatechange: ContentVisibilityAutoStateChangeEvent | null;
interface GlobalEventHandlersEventMap {
- "contentvisibilityautostatechanged": ContentVisibilityAutoStateChangedEvent;
-}
-
-interface ContentVisibilityAutoStateChangedEventInit extends EventInit {
- skipped?: boolean;
+ "contentvisibilityautostatechange": ContentVisibilityAutoStateChangeEvent;
}
diff --git a/index.d.ts b/index.d.ts
index 6e58482..ab51ac9 100644
--- a/index.d.ts
+++ b/index.d.ts
@@ -21,7 +21,6 @@
///
-///
///
///
diff --git a/package.json b/package.json
index ecd4002..a6410e9 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
{
"name": "new-javascript",
- "version": "0.4.3",
+ "version": "0.4.4",
"description": "TypeScript type definitions for new JavaScript stuff that isn't yet in TypeScript's standard type definitions",
"main": "./index.d.ts",
"repository": {
diff --git a/tc39/array-from-async.d.ts b/tc39/array-from-async.d.ts
deleted file mode 100644
index 968d48d..0000000
--- a/tc39/array-from-async.d.ts
+++ /dev/null
@@ -1,8 +0,0 @@
-
-// Array.fromAsync
-// Specification: https://tc39.es/proposal-array-from-async/
-// Repository: https://github.com/tc39/proposal-array-from-async
-
-interface ArrayConstructor {
- fromAsync(asyncIterable: AsyncIterable | Iterable): Promise;
-}
diff --git a/tc39/esnext.d.ts b/tc39/esnext.d.ts
index 028ee26..6993708 100644
--- a/tc39/esnext.d.ts
+++ b/tc39/esnext.d.ts
@@ -3,32 +3,6 @@
// Specification: https://tc39.es/ecma262/multipage/
// Repository: https://github.com/tc39/ecma262
-// Fundamental Objects
-// https://tc39.es/ecma262/multipage/fundamental-objects.html
-
-interface ObjectConstructor {
- groupBy(array: T[], callback: (item: T, index?: number) => string): Record;
-}
-
-// Text Processing
-// https://tc39.es/ecma262/multipage/text-processing.html
-
-interface String {
- isWellFormed(): boolean;
- toWellFormed(): string;
-}
-
-interface RegExp {
- readonly unicodeSets: boolean;
-}
-
-// Keyed Collections
-// https://tc39.es/ecma262/multipage/keyed-collections.html
-
-interface MapConstructor {
- groupBy(array: T[], callback: (item: T, index?: number) => K): Map;
-}
-
// Structured Data
// https://tc39.es/ecma262/multipage/structured-data.html
@@ -43,14 +17,3 @@ interface SharedArrayBuffer {
readonly growable: boolean;
readonly maxByteLength: number;
}
-
-// Control Abstraction Objects
-// https://tc39.es/ecma262/multipage/control-abstraction-objects.html
-
-interface PromiseConstructor {
- withResolvers(): {
- promise: Promise;
- resolve: (value?: T | PromiseLike) => void;
- reject: (reason?: any) => void;
- };
-}
diff --git a/w3c/compute-pressure.d.ts b/w3c/compute-pressure.d.ts
index cf59ea1..7d7ab61 100644
--- a/w3c/compute-pressure.d.ts
+++ b/w3c/compute-pressure.d.ts
@@ -29,7 +29,7 @@ interface PressureObserver {
declare var PressureObserver: {
prototype: PressureObserver;
new(callback: PressureUpdateCallback, options?: PressureObserverOptions): PressureObserver;
- readonly supportedSources: ReadonlyArray;
+ readonly knownSources: ReadonlyArray;
}
interface PressureRecord {