Skip to content

Commit f13e277

Browse files
authored
fix: Adds non-null assertion operators. (#1818)
* fix: Adds non-null assertion operators. * Update e2e.yml movaes actions/upload-artifact to v4
1 parent a0815eb commit f13e277

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/workflows/e2e.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ jobs:
6666
env:
6767
CI: true
6868
- name: Push test report to artifacts
69-
uses: actions/upload-artifact@v2
69+
uses: actions/upload-artifact@v4
7070
if: failure()
7171
with:
7272
name: Test Results

samples/place-autocomplete-data-session/index.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,9 +56,9 @@ async function makeAcRequest(input) {
5656
// Create a link for the place, add an event handler to fetch the place.
5757
const a = document.createElement('a');
5858
a.addEventListener('click', () => {
59-
onPlaceSelected(placePrediction.toPlace());
59+
onPlaceSelected(placePrediction!.toPlace());
6060
});
61-
a.innerText = placePrediction.text.toString();
61+
a.innerText = placePrediction!.text.toString();
6262

6363
// Create a new list element.
6464
const li = document.createElement('li');

0 commit comments

Comments
 (0)