Skip to content

Commit

Permalink
chore: tweak typedoc settings (#335)
Browse files Browse the repository at this point in the history
  • Loading branch information
pvlugter authored May 23, 2022
1 parent 5abe4e1 commit ad4e91c
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 10 deletions.
12 changes: 6 additions & 6 deletions sdk/src/event-sourced-entity.ts
Original file line number Diff line number Diff line change
Expand Up @@ -131,8 +131,8 @@ export namespace EventSourcedEntity {
*
* @typeParam State - the type of {@link Serializable} state
* @typeParam Events - the type of all {@link Serializable} events
* @typeParam CommandHandlers - optional type of {@link EventSourcedEntity.CommandHandlers}
* @typeParam EventHandlers - optional type of {@link EventSourcedEntity.EventHandlers}
* @typeParam CommandHandlers - optional type of {@link CommandHandlers}
* @typeParam EventHandlers - optional type of {@link EventHandlers}
*/
export type Behavior<
State extends Serializable = any,
Expand Down Expand Up @@ -170,8 +170,8 @@ export namespace EventSourcedEntity {
*
* @typeParam State - the type of {@link Serializable} state
* @typeParam Events - the type of all {@link Serializable} events
* @typeParam CommandHandlers - optional type of {@link EventSourcedEntity.CommandHandlers}
* @typeParam EventHandlers - optional type of {@link EventSourcedEntity.EventHandlers}
* @typeParam CommandHandlers - optional type of {@link CommandHandlers}
* @typeParam EventHandlers - optional type of {@link EventHandlers}
* @param state - The entity state
* @returns The new entity state
*/
Expand Down Expand Up @@ -251,8 +251,8 @@ const defaultOptions = {
*
* @typeParam State - the type of {@link Serializable} state
* @typeParam Events - the type of all {@link Serializable} events
* @typeParam CommandHandlers - optional type of {@link EventSourcedEntity.CommandHandlers}
* @typeParam EventHandlers - optional type of {@link EventSourcedEntity.EventHandlers}
* @typeParam CommandHandlers - optional type of CommandHandlers
* @typeParam EventHandlers - optional type of EventHandlers
*
* @public
*/
Expand Down
2 changes: 1 addition & 1 deletion sdk/src/value-entity.ts
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ const defaultOptions = {
* Value Entity.
*
* @typeParam State - the type of {@link Serializable} state
* @typeParam CommandHandlers - optional type of {@link ValueEntity.CommandHandlers}
* @typeParam CommandHandlers - optional type of CommandHandlers
*
* @public
*/
Expand Down
12 changes: 9 additions & 3 deletions sdk/typedoc.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,15 @@
{
"$schema": "https://typedoc.org/schema.json",
"entryPoints": [
"./index.ts"
],
"entryPoints": ["./index.ts"],
"excludeInternal": true,
"excludePrivate": true,
"readme": "none",
"sort": ["source-order"],
"validation": {
"notExported": true,
"invalidLink": true,
"notDocumented": false
},
"treatWarningsAsErrors": true,
"out": "apidocs"
}

0 comments on commit ad4e91c

Please sign in to comment.