Skip to content

Commit 74a57ac

Browse files
Markzipancommit-bot@chromium.org
authored and
commit-bot@chromium.org
committed
[dartdevc] Migrating dart:_foreign_helper to NNBD.
Change-Id: I557d4a544f03f7aaf9985dc30d0671fc7aa603ae Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/125860 Reviewed-by: Sigmund Cherem <sigmund@google.com> Reviewed-by: Nicholas Shahan <nshahan@google.com> Commit-Queue: Mark Zhou <markzipan@google.com>
1 parent 361d962 commit 74a57ac

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

sdk_nnbd/lib/_internal/js_dev_runtime/private/foreign_helper.dart

+1-3
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22
// for details. All rights reserved. Use of this source code is governed by a
33
// BSD-style license that can be found in the LICENSE file.
44

5-
// @dart = 2.5
6-
75
library dart._foreign_helper;
86

97
/**
@@ -108,7 +106,7 @@ library dart._foreign_helper;
108106
*/
109107
// Add additional optional arguments if needed. The method is treated internally
110108
// as a variable argument method.
111-
T JS<T extends Object>(String typeDescription, String codeTemplate,
109+
T JS<T extends Object?>(String typeDescription, String codeTemplate,
112110
[arg0,
113111
arg1,
114112
arg2,

0 commit comments

Comments
 (0)