Skip to content

Instantly share code, notes, and snippets.

Created January 3, 2017 00:31
What would you like to do?
FIX: possibly undefined.
private formatUsed(): string {
let usedMb = this.usedMb();
return usedMb ? usedMb.toFixed(0).toString() : '';
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment