24 Commits

Author SHA1 Message Date
Rob Pilling
a23d4142d8 typescript: all boolean parameters can be 0 / 1 2024-10-10 20:51:35 +01:00
Gordon Williams
138452fb65 Merging Dickens-specific changes into master 2023-09-27 14:57:47 +01:00
Rob Pilling
d267c171a7 Correct handling of this --> thisArg 2023-02-27 20:45:11 +00:00
qucchia
149a7f6bac Build types: Edit start of file 2022-07-27 20:14:32 +02:00
qucchia
649c271b05 TypeScript: Declare modules as JS modules 2022-07-27 19:44:32 +02:00
qucchia
8d4378c12b Build types: show done message 2022-07-27 17:05:35 +02:00
qucchia
27250b62c6 Don't include ‘interface’ keyword in declarations 2022-07-27 17:05:03 +02:00
qucchia
840320db69 Allow ‘build_types’ script to work from anywhere 2022-07-27 16:30:11 +02:00
qucchia
3bc5387216 TypeScript: if a return type is Promise, convert to Promise<void>
(Used to be Promise<any>)
2022-07-27 10:35:47 +02:00
qucchia
f3d137b72d Allow TYPESCRIPT comments to include additional metadata 2022-07-27 10:35:33 +02:00
qucchia
cc428a98ad TypeScript: Fix ArrayBuffer 2022-07-27 09:25:01 +02:00
qucchia
3539102104 TypeScript: add ‘static’ to all static method overloads 2022-07-26 19:58:17 +02:00
qucchia
695de55e19 TypeScript: replace String with string 2022-07-26 19:58:02 +02:00
qucchia
889d4711e8 TypeScript: set return type to void if none is specified
(Used to be any)
2022-07-26 19:32:43 +02:00
qucchia
0bf81d849d TypeScript: ArrayBuffer 2022-07-26 19:04:41 +02:00
qucchia
3d18905e02 Document the ‘build_types’ script 2022-07-24 08:50:48 +02:00
qucchia
bfaa2abf86 Fix incorrect callbacks in events 2022-07-23 20:32:27 +02:00
qucchia
11ddc79748 Automatically declare ‘globals’ correctly 2022-07-23 20:32:02 +02:00
qucchia
7ad8506707 Add custom TypeScript declarations in comments 2022-07-23 20:15:18 +02:00
qucchia
8119be4a9a TypeScript: Document using JSDoc format 2022-07-22 11:24:31 +02:00
qucchia
c8a591b234 Update typing 2022-07-22 08:16:32 +02:00
qucchia
aa97ab6c3d Use return_object for ArrayBufferView.buffer 2022-07-21 13:58:25 +02:00
qucchia
573f062e98 Types: declare events 2022-07-21 12:49:26 +02:00
qucchia
72780a44f8 Auto-generate types for TypeScript 2022-07-21 12:23:31 +02:00