Updates the elements.update() method to return a Promise
Adds support for async and await patterns when updating an Elements object by changing the elements.update() method to return a Promise<void>. The return type of elements.update() has changed from void to Promise<void>. TypeScript integrations that explicitly type the return value need to update their types. If your integration otherwise expects elements.update() to return void, you might also need to update your code.
docs.stripe.comquote checked
- behaviour change
- Your codeby hand
Nemotron fixes
In its own wordsmatches the page ✓
| [Updates the elements.update() method to return a Promise](https://docs.stripe.com/changelog/dahlia/2026-03-25/elements-update-returns-promise.md) | Elements | Breaking | stripejs |
Also readmatches the page ✓
The return type of `elements.update()` has changed from `void` to `Promise<void>`. TypeScript integrations that explicitly type the return value need to update their types. If your integration otherwise expects `elements.update()` to return `void`, you might also need to update your code.
- You can now use async or await when calling elements.update() to wait for the update to complete before performing subsequent operations.
What Teire looks for in your code
nothing to search for: checked by hand
Does it reach your code?