DonJayamanne / typescript-notebook

Run JavaScript and TypeScript in node.js within VS Code notebooks with excellent support for debugging, tensorflowjs visulizations, plotly, danfojs, etc
https://marketplace.visualstudio.com/items?itemName=donjayamanne.typescript-notebook
MIT License
904 stars 39 forks source link

cannot redeclare block scoped variable #84

Closed Hifilo closed 1 year ago

Hifilo commented 1 year ago

it seems redeclaring functions seems to give an error in vscode? Cannot redeclare block-scoped variable 'myFunction'

Is there a way around this, or should I not worry?

I assumed placing code in different code boxes would allow me to reuse variable names.