Commit 015af97
committed
docs(ko): fix splat parameter type annotations
- Single splat (*args): change from `*args: Type` to `*args: Array<Type>`
since Ruby collects rest arguments into an Array
- Double splat (**kwargs): change from `**kwargs: Type` to
`**kwargs: Hash<Symbol, Type>` since Ruby collects keyword rest
arguments into a Hash
- Update summary table and explanation text accordingly
- Add new keyword argument syntax with `**{ }` for inline types
- Add interface reference syntax for keyword arguments1 parent cc53961 commit 015af97
1 file changed
Lines changed: 137 additions & 66 deletions
0 commit comments