Commit Graph

20 Commits (2e92b04af553ca952c2ac14502241aa122b843fb)

Author SHA1 Message Date
Rob Pilling 70da1d37e5 Regenerate main.d.ts - String::slice()'s end is optional 2023-02-20 18:32:42 +00:00
Rob Pilling 486ca23c4c Regenerate typescript / main.d.ts
This regenerates `main.d.ts` from [`build_types.js`] in the espruino repo, after [updates to optionals and other changes].

The main changes are new modules, and some older typings that might have not been regenerated since their jsdoc/comments changed.

New module typings:
- CC3000
- ESP8266
- Flash
- NetworkJS
- Storage
- TelnetServer
- WIZnet
- Wifi
- crypto
- dgram
- fs
- heatshrink
- http
- neopixel
- net
- tensorflow
- tls
- tv

[`build_types.js`]: 149a7f6bac/scripts/build_types.js
[updates to optionals and other changes]: https://github.com/espruino/Espruino/pull/2322
2023-02-09 18:15:42 +00:00
Gordon Williams 64776ae383 remove BEEPSET workaround - from 3 year old firmware 2022-11-01 09:28:29 +00:00
qucchia 66eba7ec02 TypeScript: Update types 2022-07-27 17:42:20 +02:00
qucchia 8a3e6c2b8d Update types 2022-07-23 20:36:14 +02:00
qucchia aee02b93e3 TypeScript: Add JSDoc comments 2022-07-22 11:27:08 +02:00
qucchia 0300bfe773 Types: fix broken library URLs 2022-07-22 09:58:49 +02:00
qucchia 2f7edabf87 Include all types, overriding JS defaults 2022-07-22 08:21:47 +02:00
qucchia 61835e8d64 Update types with events 2022-07-21 12:50:04 +02:00
qucchia defd8050f4 Define types for ‘g’ and ‘WIDGETS’ 2022-07-21 12:36:05 +02:00
qucchia 194827a947 Update types from new script 2022-07-21 12:30:15 +02:00
qucchia 3b84f17a22 Further improve types documentation 2022-07-20 21:07:18 +02:00
qucchia 0526ed86ea Types: improve require function 2022-07-20 20:35:57 +02:00
qucchia 2311fe91ec Update types 2022-07-20 19:23:16 +02:00
qucchia 1d400aa8a7 Update to new types 2022-07-20 17:57:03 +02:00
qucchia e552f08a71 Documentation: fix relative links 2022-07-20 16:12:48 +02:00
qucchia bfa05bb8bf Format documentation comments as Markdown 2022-07-20 15:51:15 +02:00
qucchia bc123a7788 Fix documentation comments 2022-07-20 15:35:57 +02:00
qucchia 805b5026da Start auto-generating types 2022-07-20 15:07:21 +02:00
qucchia bff1298d99 Add new typings for TypeScript 2022-07-19 09:49:47 +02:00