Skip to content

Commit

Permalink
readonly types
Browse files Browse the repository at this point in the history
  • Loading branch information
kennylavender authored Dec 13, 2018
1 parent bcf304b commit 4e71d64
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/API/API.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ export interface APIConfiguration extends LoggingConfiguration, FileControllerCo
}

export interface API {
start: () => Promise<void>
stop: () => Promise<void>
readonly start: () => Promise<void>
readonly stop: () => Promise<void>
}

export const API = (configuration: APIConfiguration): API => {
Expand Down

0 comments on commit 4e71d64

Please sign in to comment.