Example of how to use Typescript with Observable notebook
See notebook at: https://observablehq.com/@alfa07/using-typescript-with-observable
First install dependencies:
$ npm install
Then build js module:
$ npm run build
Run server with:
$ npm run start
Got to the notebook and reload the page.