@@ -1434,7 +1434,7 @@ public enum Kind
14341434 }
14351435
14361436 /// <summary>
1437- /// A payload sent across interop.
1437+ /// A payload sent across interop, keyed by <c>Kind</c> .
14381438 /// </summary>
14391439 /// <remarks>Visible in generated TypeScript.</remarks>
14401440 public record Payload<T>
@@ -1461,7 +1461,7 @@ public interface IExportedInstanced
14611461 /// <summary>Current state.</summary>
14621462 int State { get; }
14631463
1464- /// <summary>Invokes instance.</summary>
1464+ /// <summary>Invokes instance with <paramref name="value"/> .</summary>
14651465 /// <param name="value">Value to pass.</param>
14661466 void Inv (string value);
14671467 }
@@ -1485,7 +1485,10 @@ public partial class Class
14851485 /// <summary>Runs foo.</summary>
14861486 /// <param name="function">Function value.</param>
14871487 /// <param name="names">Names to run.</param>
1488- /// <returns>Computed value.</returns>
1488+ /// <returns>
1489+ /// Computed value to be used with <see cref="Get"/> and <see cref="OnFoo"/>,
1490+ /// or <see langword="null"/> when invalid.
1491+ /// </returns>
14891492 [Export] public static int Foo (List<int?> function, string[] names) => 0;
14901493
14911494 /// <summary>Gets payload.</summary>
@@ -1522,7 +1525,7 @@ export enum Kind {
15221525 Contains (
15231526 """
15241527 /**
1525- * A payload sent across interop.
1528+ * A payload sent across interop, keyed by Kind .
15261529 */
15271530 export type Payload<T> = Readonly<{
15281531 /**
@@ -1542,7 +1545,7 @@ export interface IExportedInstanced {
15421545 */
15431546 readonly state: number;
15441547 /**
1545- * Invokes instance.
1548+ * Invokes instance with value .
15461549 * @param value Value to pass.
15471550 */
15481551 inv(value: string): void;
@@ -1578,7 +1581,7 @@ export namespace Class {
15781581 * Runs foo.
15791582 * @param fn Function value.
15801583 * @param names Names to run.
1581- * @returns Computed value.
1584+ * @returns Computed value to be used with Get and OnFoo, or null when invalid .
15821585 */
15831586 export function foo(fn: Array<number | null>, names: Array<string>): number;
15841587 /**
0 commit comments