Skip to content

Commit 9ef8a58

Browse files
authored
Work around for ts-node compilation issues (#13473)
* Work around for ts-node * Fixes
1 parent 8a3e70f commit 9ef8a58

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

news/3 Code Health/13411.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Cast type to `any` to get around issues with `ts-node` (`ts-node` is used by `nyc` for code coverage).

src/client/datascience/notebookStorage/vscNotebookModel.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,8 @@ export class VSCodeNotebookModel extends BaseNotebookModel {
101101
return {
102102
...cell,
103103
metadata
104-
};
104+
// tslint:disable-next-line: no-any (because ts-node sucks).
105+
} as any;
105106
});
106107
}
107108

0 commit comments

Comments
 (0)