Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 0 additions & 4 deletions inputfiles/addedTypes.jsonc
Original file line number Diff line number Diff line change
Expand Up @@ -408,10 +408,6 @@
}
}
},
"IDBOpenDBRequest": {
"name": "IDBOpenDBRequest",
"extends": "IDBRequest<IDBDatabase>"
},
"HTMLBodyElement": {
"properties": {
"property": {
Expand Down
60 changes: 0 additions & 60 deletions inputfiles/overridingTypes.jsonc
Original file line number Diff line number Diff line change
Expand Up @@ -1250,66 +1250,6 @@
}
}
},
"IDBCursor": {
"properties": {
"property": {
"key": {
"name": "key",
"type": "IDBValidKey"
},
"primaryKey": {
"name": "primaryKey",
"type": "IDBValidKey"
}
}
},
"methods": {
"method": {
"continue": {
"signature": {
"0": {
"param": [
{
"name": "key",
"overrideType": "IDBValidKey"
}
]
}
}
},
"continuePrimaryKey": {
"signature": {
"0": {
"param": [
{
"name": "key",
"overrideType": "IDBValidKey"
},
{
"name": "primaryKey",
"overrideType": "IDBValidKey"
}
]
}
}
},
"delete": {
"signature": {
"0": {
"overrideType": "IDBRequest<undefined>"
}
}
},
"update": {
"signature": {
"0": {
"overrideType": "IDBRequest<IDBValidKey>"
}
}
}
}
}
},
"ImageBitmapRenderingContext": {
"properties": {
"property": {
Expand Down
27 changes: 27 additions & 0 deletions inputfiles/patches/indexeddb.kdl
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,30 @@ interface IDBRequest {
}
property result overrideType=T
}

interface IDBOpenDBRequest extends=IDBRequest<IDBDatabase>

interface IDBCursor {
property key type=IDBValidKey
property primaryKey type=IDBValidKey
method continue signatureIndex=0 {
param key type=IDBValidKey
}
method continuePrimaryKey signatureIndex=0 {
param key type=IDBValidKey
param primaryKey type=IDBValidKey
}

method update signatureIndex=0 {
type {
type IDBValidKey
}
}

method delete signatureIndex=0 {
type {
type undefined
}
}
}