Skip to content

Commit fd156fd

Browse files
authored
docs(angular): add missing non-null assertion operator (#2683)
1 parent 6113248 commit fd156fd

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

Diff for: docs/angular/your-first-app/5-adding-mobile.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ private async readAsBase64(photo: Photo) {
4545
}
4646
else {
4747
// Fetch the photo, read as a blob, then convert to base64 format
48-
const response = await fetch(photo.webPath);
48+
const response = await fetch(photo.webPath!);
4949
const blob = await response.blob();
5050

5151
return await this.convertBlobToBase64(blob) as string;

Diff for: versioned_docs/version-v5/angular/your-first-app/5-adding-mobile.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ private async readAsBase64(photo: Photo) {
4545
}
4646
else {
4747
// Fetch the photo, read as a blob, then convert to base64 format
48-
const response = await fetch(photo.webPath);
48+
const response = await fetch(photo.webPath!);
4949
const blob = await response.blob();
5050

5151
return await this.convertBlobToBase64(blob) as string;

Diff for: versioned_docs/version-v6/angular/your-first-app/5-adding-mobile.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ private async readAsBase64(photo: Photo) {
4545
}
4646
else {
4747
// Fetch the photo, read as a blob, then convert to base64 format
48-
const response = await fetch(photo.webPath);
48+
const response = await fetch(photo.webPath!);
4949
const blob = await response.blob();
5050

5151
return await this.convertBlobToBase64(blob) as string;

0 commit comments

Comments
 (0)