Skip to content

Commit

Permalink
docs(agents): Add some missing tsdocs
Browse files Browse the repository at this point in the history
  • Loading branch information
jcowman2 committed Aug 29, 2019
1 parent 29a0024 commit dd43e60
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/agents/agent-manager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,10 @@ export interface AgentManager {
*/
deleteProperty(property: PropertyKey): void;

/**
* Sets the agent manager's `AgentProtoId`
* @param protoId The prototype id
*/
setProtoId(protoId: FK<AgentProtoId>): void;
}

Expand Down
2 changes: 2 additions & 0 deletions src/agents/agent-meta.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,9 @@
import { PK } from "../common";
import { Agent } from "./agent";

/** Type alias for `Agent` primary key. */
export type AgentId = PK<Agent>;
/** Type alias for `Agent` prototype primary key. */
export type AgentProtoId = PK<"AgentProto">;

/**
Expand Down

0 comments on commit dd43e60

Please sign in to comment.