Skip to content

Commit

Permalink
0.3.7
Browse files Browse the repository at this point in the history
  • Loading branch information
BenjaminAster committed Sep 26, 2023
1 parent ba3f75c commit 77877a5
Show file tree
Hide file tree
Showing 8 changed files with 7 additions and 10 deletions.
1 change: 0 additions & 1 deletion css-houdini/layout-worklet.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
// Repository: https://github.com/w3c/css-houdini-drafts/tree/main/css-layout-api

/// <reference path="../worklet/worklet-global.d.ts" />
/// <reference path="./typed-om.d.ts" />

interface LayoutInstanceConstructor {
new(): {
Expand Down
1 change: 0 additions & 1 deletion css-houdini/paint-worklet.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
// Repository: https://github.com/w3c/css-houdini-drafts/tree/main/css-paint-api

/// <reference path="../worklet/worklet-global.d.ts" />
/// <reference path="./typed-om.d.ts" />

interface PaintInstanceConstructor {
new(): {
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "new-javascript",
"version": "0.3.6",
"version": "0.3.7",
"description": "TypeScript type definitions for new JavaScript stuff that isn't yet in TypeScript's standard type definitions",
"main": "./index.d.ts",
"repository": {
Expand Down
5 changes: 4 additions & 1 deletion wicg/background-sync.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,14 @@ interface ServiceWorkerGlobalScopeEventMap {
}

interface SyncEvent extends ExtendableEvent {
new(type: string, init: SyncEventInit);
readonly tag: string;
readonly lastChance: boolean;
}

declare var SyncEvent: {
new(type: string, init: SyncEventInit): SyncEvent;
}

interface SyncEventInit extends ExtendableEventInit {
tag: string;
lastChance?: boolean;
Expand Down
2 changes: 1 addition & 1 deletion wicg/permissions-request.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
// Specification: https://wicg.github.io/permissions-request/
// Repository: https://github.com/WICG/permissions-request

/// <reference path="../w3c/permissions.d.ts" />
/// <reference path="../w3c/permissions-registry.d.ts" />

interface Permissions {
request(permissionDesc: NewJavaScript.PermissionDescriptor): Promise<PermissionStatus>;
Expand Down
2 changes: 1 addition & 1 deletion wicg/permissions-revoke.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
// Specification: https://wicg.github.io/permissions-revoke/
// Repository: https://github.com/WICG/permissions-revoke

/// <reference path="../w3c/permissions.d.ts" />
/// <reference path="../w3c/permissions-registry.d.ts" />

interface Permissions {
revoke(permissionDesc: NewJavaScript.PermissionDescriptor): Promise<PermissionStatus>;
Expand Down
2 changes: 0 additions & 2 deletions worklet/layout.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,4 @@

/// <reference path="./worklet-global.d.ts" />

/// <reference path="../css-houdini/typed-om.d.ts" />

/// <reference path="../css-houdini/layout-worklet.d.ts" />
2 changes: 0 additions & 2 deletions worklet/paint.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,4 @@

/// <reference path="./worklet-global.d.ts" />

/// <reference path="../css-houdini/typed-om.d.ts" />

/// <reference path="../css-houdini/paint-worklet.d.ts" />

0 comments on commit 77877a5

Please sign in to comment.