Skip to content

Commit

Permalink
use webxdc types package
Browse files Browse the repository at this point in the history
  • Loading branch information
Simon-Laux committed Oct 11, 2023
1 parent a9aba5e commit bd909f3
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 129 deletions.
11 changes: 11 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,7 @@
"stackframe": "^1.2.1",
"url-parse": "^1.5.9",
"use-debounce": "^3.3.0",
"webxdc-types": "^1.0.0",
"ws": "7.5.9"
},
"devDependencies": {
Expand Down
4 changes: 2 additions & 2 deletions static/webxdc-preload.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
let is_ready = false

/**
* @type {Parameters<import('./webxdc').Webxdc["setUpdateListener"]>[0]|null}
* @type {Parameters<import('webxdc-types').Webxdc["setUpdateListener"]>[0]|null}
*/
let callback = null
var last_serial = 0
Expand Down Expand Up @@ -47,7 +47,7 @@
})

/**
* @type {import('./webxdc').Webxdc}
* @type {import('webxdc-types').Webxdc}
*/

const api = {
Expand Down
127 changes: 0 additions & 127 deletions static/webxdc.d.ts

This file was deleted.

0 comments on commit bd909f3

Please sign in to comment.