This folder contains the TypeScript source code for the sample project. You would typically replace most files here by your own application-specific code.
The two entry points that you should probably keep with the same name are:
| file | description |
|---|---|
app.ts |
The application entry point |
serviceWorker.ts |
The helper to make this app behave like a Progressive Web App (PWA) |
Other files can be freely removed once no more referenced by the two files above.
If you want to better understand how to use Yoctopuce devices with TypeScript, you can read our tutorial.
If you want to know more about serviceWorker.ts and Progressive Web Apps, have a look
at the blog post on that topic.
For details on how to compile the application, see the top-level README file