Skip to content

Commit

Permalink
Make Message<T> have a default type param (#1086)
Browse files Browse the repository at this point in the history
  • Loading branch information
kjin authored and dcodeIO committed Jul 17, 2018
1 parent e8449c4 commit 36fc964
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -507,7 +507,7 @@ export interface IExtensionMapField extends IMapField {
}

/** Abstract runtime message. */
export class Message<T extends object> {
export class Message<T extends object = object> {

/**
* Constructs a new message instance.
Expand Down

0 comments on commit 36fc964

Please sign in to comment.