Commit Graph

40 Commits (d85ec84ae32d35405eaaf27e9dc781e9660c14b1)

Author SHA1 Message Date
Rob Pilling e14d1f63d0 typescript: update types 2024-07-11 22:41:31 +01:00
Rob Pilling 650ceeac21 main.d.ts: make startsWith() 2nd arg optional 2024-07-11 21:21:34 +01:00
Rob Pilling 34f78f6457 Update TS types 2024-06-16 17:17:26 +01:00
Rob Pilling 5ed250fb97 update main.d.ts 2024-04-26 22:55:07 +01:00
Rob Pilling 513c07d6fd update main.d.ts 2024-04-26 22:55:07 +01:00
Rob Pilling 7e38b9b677 Update typescript types 2024-03-25 20:52:34 +00:00
Rob Pilling 73218e4180 Regenerate typescript 2023-07-27 17:32:12 +01:00
Rob Pilling a42e00dc20 Regenerate main.d.ts 2023-06-13 23:08:35 +01:00
Rob Pilling 557f77f7c8 Regenerate types 2023-05-16 22:50:33 +01:00
Rob Pilling 69bfcfeb99 widhid: regenerate JS 2023-05-08 22:33:50 +01:00
Rob Pilling fc82d3b13b Update typescript & remove "use strict"s 2023-04-20 13:09:52 +01:00
Rob Pilling f68abbd33d Regenerate types: ShortBoolean 2023-04-11 18:15:13 +01:00
Rob Pilling 7ee3279a02 Update main.d.ts 2023-04-08 08:30:43 +01:00
Rob Pilling 923b5dbb96 drained: clearWatch() and turn off bluetooth 2023-04-08 08:25:54 +01:00
Rob Pilling acbd5d3b53 Update main.d.ts - setUI & removeAllListeners() 2023-04-07 21:53:07 +01:00
Rob Pilling d9dc729abd Regenerate types - NRF.getSecurityStatus() 2023-03-06 12:05:32 +00:00
Gordon Williams ef43eba307
Merge pull request #2606 from bobrippling/tap2lock
widlockunlock: tap-to-lock
2023-02-28 09:27:01 +00:00
Rob Pilling 9f4e4bc981 Regenerate object.call types 2023-02-25 23:21:18 +00:00
Rob Pilling e44e4c0274 Regenerate main.d.ts - fromEntries & getOwnPropertyDescriptors 2023-02-25 23:21:18 +00:00
Rob Pilling 92fd9133fb Regenerate main.d.ts - Widget types 2023-02-25 22:23:53 +00:00
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