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
File tree
1 file changed
+137
-66
lines changed- i18n/ko/docusaurus-plugin-content-docs/current/learn/functions
1 file changed
+137
-66
lines changed
0 commit comments