Skip to content

Commit

Permalink
docs(agents): Add missing tsdocs to agent-meta-transformers.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
jcowman2 committed Aug 31, 2019
1 parent ac5fb10 commit 43e35dc
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/agents/impl/agent-meta-transformers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,5 +44,9 @@ export const inactiveAgentMeta = transformMeta(() => ({
*/
export const agentMetaWithID = (id: AgentId) => transformMeta(() => ({ id }));

/**
* `AgentMeta` transformer that sets the meta's prototype id to the
* given `protoId`.
*/
export const agentMetaWithProtoID = (protoId: AgentProtoId) =>
transformMeta(() => ({ protoId }));

0 comments on commit 43e35dc

Please sign in to comment.