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
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
Felix Wiedenbach
267f043dfe
documents all four possible widget areas
2022-06-16 10:28:25 +02:00
Salim Blume
31fd2344a8
Fix for buzz type updated in previous commit
2022-04-05 21:05:03 -05:00
Salim Blume
88a785df7f
Update some types
2022-04-05 20:58:33 -05:00
Salim Blume
75c4e5b54b
bthrm fixes for reading characteristics generally and displaying location
2022-04-04 16:48:15 -05:00
Sebastian Di Luzio
fc2c3c86a4
document typing progress
2021-12-10 23:17:18 +01:00
Sebastian Di Luzio
15d24ac1b3
update TS rules to make them stricter
2021-12-10 21:36:42 +01:00
Sebastian Di Luzio
45bd654eca
fix global vars inside IDE (only cli to go)
2021-12-10 21:19:01 +01:00
Sebastian Di Luzio
63b26f5d1f
move dev dependencies to main package.json, get first compiling version of test widget
...
- i still want to be able to get the types ambiently defined without any weird import needed
- it would be nice to be able to have a separate package.json in ./typescirpt. not sure if it's possible, I would move working on that part to the end
2021-12-08 20:22:39 +01:00