Skip to content

Commit

Permalink
Remove unused code
Browse files Browse the repository at this point in the history
  • Loading branch information
wch committed Apr 7, 2024
1 parent 0832e5d commit 4ff174c
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions src/pyodide-worker.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,18 +11,6 @@ type Pyodide = Awaited<ReturnType<typeof loadPyodide>>;
let pyodideStatus: "none" | "loading" | "loaded" = "none";
let pyodide: Pyodide;

// For run-time type checking. These are the results from a Python call that can
// be converted to a JS value, but only the basic types (no proxies). This is
// equivalent to the following TS type, except that we we use it at run time:
// Exclude<Py2JsResult, PyProxy>
const Py2JsResultBasicTypenames = [
"string",
"number",
"bigint",
"boolean",
"undefined",
];

// This top-level Web Worker object (viewed from the inside).
interface PyodideWebWorkerInside
extends Omit<DedicatedWorkerGlobalScope, "postMessage"> {
Expand Down

0 comments on commit 4ff174c

Please sign in to comment.