Commit Graph

96 Commits (2063cca87f8ec46fc1286fba29de2347166e7175)

Author SHA1 Message Date
Rob Pilling 73218e4180 Regenerate typescript 2023-07-27 17:32:12 +01:00
Rob Pilling 76a60d6ae3 layout.d.ts: correct render() type 2023-06-30 12:23:22 +01:00
Rob Pilling 8036509b18 layout.d.ts: add btnBorder 2023-06-30 08:26:44 +01:00
Rob Pilling 553d363f90 layout.d.ts: alignment fixes 2023-06-30 08:26:44 +01:00
Rob Pilling 739ddb731f layout.d.ts: Layout's fill can be any proportion 2023-06-30 08:26:44 +01:00
Rob Pilling efd1891ff5 layout.d.ts: render(), layout(), debug() and clear() accept any layout hierarchy 2023-06-30 08:26:44 +01:00
Rob Pilling 9c72a8210d layout.d.ts: add rotation / l.r 2023-06-30 08:26:44 +01:00
Rob Pilling 557b426b63 typescript: remove `Layout_` naming hack 2023-06-30 08:26:44 +01:00
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 f7cc2bff5e typescript: add to authors 2023-02-19 17:58:22 +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 5ebc5cd880 Typescript version updates 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