Skip to content

Commit

Permalink
max_age is Nanos allow typings to warn on that (#138)
Browse files Browse the repository at this point in the history
  • Loading branch information
aricart committed Apr 1, 2021
1 parent 5b8745e commit 9af57a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nats-base-client/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -465,7 +465,7 @@ export interface StreamConfig {
"max_msgs": number;
"max_bytes": number;
discard?: DiscardPolicy;
"max_age": number;
"max_age": Nanos;
"max_msg_size"?: number;
storage: StorageType;
"num_replicas": number;
Expand Down

0 comments on commit 9af57a5

Please sign in to comment.