Skip to content

Commit 2503f98

Browse files
srujzsCommit Queue
authored andcommitted
[dart:js_interop] Specify that null or empty @js values are ignored
CoreLibraryReviewExempt: Doc-only change. Change-Id: I75b729f638b6fff9ee8969c8ff90511ee44f147d Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/443741 Auto-Submit: Srujan Gaddam <[email protected]> Commit-Queue: Erik Ernst <[email protected]> Reviewed-by: Erik Ernst <[email protected]>
1 parent e6e94f7 commit 2503f98

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

sdk/lib/js_interop/js_interop.dart

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,8 +62,8 @@ export 'dart:js_util' show NullRejectionException;
6262
/// - Renaming external declarations by parameterizing the annotation on the
6363
/// member with [name].
6464
///
65-
/// In the case where [name] is not specified, the Dart name of the extension
66-
/// type or external declaration is used as the default.
65+
/// In the case where [name] is not specified, is `null`, or is empty, the Dart
66+
/// name of the extension type or external declaration is used as the default.
6767
///
6868
/// See https://dart.dev/interop/js-interop/usage#js for more details on how to
6969
/// use this annotation.

0 commit comments

Comments
 (0)