Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Dec 23, 2024
1 parent d17ae61 commit e1cc701
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 7 deletions.
18 changes: 15 additions & 3 deletions docs/sphinx_pyodide/sphinx_pyodide/mdn_xrefs.py
Original file line number Diff line number Diff line change
Expand Up @@ -165,9 +165,21 @@
)

for ty, key, url in [
("js:data", "void", "https://www.typescriptlang.org/docs/handbook/2/functions.html#void"),
("js:data", "any", "https://www.typescriptlang.org/docs/handbook/2/everyday-types.html#any"),
("js:class", "Record", "https://www.typescriptlang.org/docs/handbook/utility-types.html#recordkeys-type")
(
"js:data",
"void",
"https://www.typescriptlang.org/docs/handbook/2/functions.html#void",
),
(
"js:data",
"any",
"https://www.typescriptlang.org/docs/handbook/2/everyday-types.html#any",
),
(
"js:class",
"Record",
"https://www.typescriptlang.org/docs/handbook/utility-types.html#recordkeys-type",
),
]:
INVDATA[ty][key] = (
"typescript docs",
Expand Down
6 changes: 3 additions & 3 deletions src/js/api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -667,9 +667,9 @@ export class PyodideAPI {
}

/**
*
* @param param0
* @returns
*
* @param param0
* @returns
*/
static makeMemorySnapshot({
serializer,
Expand Down
2 changes: 1 addition & 1 deletion src/js/load-package.ts
Original file line number Diff line number Diff line change
Expand Up @@ -567,7 +567,7 @@ export function toStringArray(str: string | PyProxy | string[]): string[] {
}

export let loadPackage: typeof PackageManager.prototype.loadPackage;
/**
/**
* An object whose keys are the names of the loaded packages and whose values
* are the install sources of the packages. Use
* `Object.keys(pyodide.loadedPackages)` to get the list of names of loaded
Expand Down

0 comments on commit e1cc701

Please sign in to comment.