We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6f9c801 commit 642456eCopy full SHA for 642456e
src/format/ipynb/format-ipynb.ts
@@ -81,10 +81,10 @@ export function ipynbFormat(): Format {
81
// read notebook
82
const nb = jupyterFromFile(output);
83
84
- // We 'hide' widget metafrom the YAML by encoding it to
+ // We 'hide' widget metadata from the YAML by encoding it to
85
// prevent the YAML representation from mangling it. Restore
86
// it here if it is so hidden
87
- const widgets = nb.metadata.widgets;
+ const widgets = nb.metadata.widgets as unknown;
88
if (widgets && typeof widgets === "string") {
89
nb.metadata.widgets = JSON.parse(
90
new TextDecoder().decode(base64decode(widgets)),
0 commit comments