mirror of
https://github.com/espruino/Espruino.git
synced 2025-12-08 19:06:15 +00:00
Update TypeScript Readme
This commit is contained in:
parent
50271ea2d7
commit
8ed673b719
@ -97,6 +97,8 @@ Here are some guidelines for making manual declarations:
|
||||
with `"[optional]"`. If adding this keyword saves having to declare the
|
||||
function manually, add it!
|
||||
|
||||
- Include the `declare` keyword in global functions and variables.
|
||||
|
||||
- Try to keep argument names the same as the ones specified in the `"param"`
|
||||
field. In cases that this isn't possible (with reserved keywords such as
|
||||
`function` or `var`) you'll have to change the name a little (for example,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user