Skip to content

Commit

Permalink
make version optional due to server response
Browse files Browse the repository at this point in the history
  • Loading branch information
dmstern committed Aug 9, 2018
1 parent b113b9d commit b17f13c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/model/Package.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ export default class Package implements PackageMetaData {
// tslint:disable-next-line:variable-name
public _rev!: string;
public name!: string;
public version!: string;
public version?: string|undefined;
public description?: string | undefined;
public keywords?: string[] | undefined;
public homepage?: string | undefined;
Expand Down

0 comments on commit b17f13c

Please sign in to comment.