We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f21e1a6 commit 2bbdb31Copy full SHA for 2bbdb31
src/lib/es2020.intl.d.ts
@@ -299,7 +299,7 @@ declare namespace Intl {
299
*
300
* [MDN](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/DisplayNames/of).
301
*/
302
- of(code: string): string;
+ of(code: string): string | undefined;
303
/**
304
* Returns a new object with properties reflecting the locale and style formatting options computed during the construction of the current
305
* [`Intl/DisplayNames`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/DisplayNames) object.
0 commit comments