Commit Graph

66 Commits (b0ccc6c678919fd7acaad933890558d79d5f33b7)

Author SHA1 Message Date
Rob Pilling a42e00dc20 Regenerate main.d.ts 2023-06-13 23:08:35 +01:00
Rob Pilling 5fcdbc2911 types: add BangleEvents 2023-05-16 23:16:34 +01:00
Rob Pilling 557f77f7c8 Regenerate types 2023-05-16 22:50:33 +01:00
Bruce Blore 06a7adca30 Made tags, type, and version optional 2023-05-13 14:28:10 -07:00
Bruce Blore 50789ad62c Added some fields to AppInfo 2023-05-13 08:08:01 -07:00
Rob Pilling 566400b26c Tweaks to sched.d.ts to type-check the docs example
[The docs example](https://github.com/espruino/BangleApps/tree/master/apps/sched#internals--library)
2023-05-10 20:54:38 +01:00
Rob Pilling 28fe46f77e widhid: disable if clkinfo is focused 2023-05-08 22:33:50 +01:00
Rob Pilling 69bfcfeb99 widhid: regenerate JS 2023-05-08 22:33:50 +01:00
Rob Pilling 9cdf97164c widhid: new widget 2023-05-08 22:33:50 +01:00
Rob Pilling df50a4dd7b Add AppInfo type 2023-05-03 07:51:29 +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 f1bb41743e Add local modules types to require() 2023-03-09 21:14:59 +00:00
Rob Pilling 9762acd981 Locale module types 2023-03-09 21:14:59 +00:00
Rob Pilling 0be2bbe2f7 Move repeat & date to a mutually inclusive group 2023-03-09 21:14:59 +00:00
Rob Pilling 8525fc73da sched.d.ts: add 2023-03-09 21:14:59 +00: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
Gordon Williams 8cbc93f110
Merge pull request #2604 from bobrippling/regen-ts
Regenerate `main.d.ts`
2023-02-27 09:34:19 +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 9403bf05b0 clock_info.d.ts .app addition 2023-02-25 21:18:26 +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 f5a9cc578e Update clock_info.d.ts - optional hasRange 2023-02-20 18:32:25 +00:00
Rob Pilling 12575cda34 Reformat typescript/**/*.d.ts 2023-02-19 21:07:12 +00:00
Rob Pilling 2d1a3cec8f btadv: minimum confidence level for HRM 2023-02-14 22:34:09 +00:00
Rob Pilling f92ffd5d88 layout.d.ts: update optionals 2023-02-14 22:33:30 +00:00
Rob Pilling 79ebde3e69 layout.d.ts: ExtractIds gives back { id: T } 2023-02-14 22:33:30 +00:00
Rob Pilling ec75c37d37 layout.d.ts: rename out the way 2023-02-14 22:33:30 +00:00
Rob Pilling d65c6b6847 typescript ReturnType<> 2023-02-14 22:32:57 +00:00
Rob Pilling 571adb88ce typescript: menu and font fixes 2023-02-14 22:32:55 +00:00
Rob Pilling 65449336fb ClockFace.d.ts 2023-02-14 22:32:02 +00:00
Rob Pilling d2b28ac2bd layout.d.ts 2023-02-14 22:32:01 +00:00
Rob Pilling 2e793391b2 clock_info.d.ts 2023-02-14 22:32:01 +00:00
Rob Pilling 008f7f40e5 Initial typescript config 2023-02-14 22:32:00 +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