Skip to content

Instantly share code, notes, and snippets.

Embed
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