We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 991786f commit 02748afCopy full SHA for 02748af
README.md
@@ -312,11 +312,12 @@ declare module 'react-unity-renderer' {
312
// Parameters<> helper type.
313
info: [message: string];
314
315
- // also possible:
316
- info: [string];
317
// Note that all parameter names are just labels, so they are fully optional.
318
// Though, they are displayed when autocompleting, so labels are quite helpful here.
319
- 'some-event': [number, debug: string];
+ 'some-event': [number, string];
+
+ // If you want no parameters at all, just supply an empty tuple:
320
+ 'parameterless-event': [];
321
}
322
323
```
0 commit comments