Skip to content

Commit ed982c1

Browse files
committed
Return JSSymbolRepType from _constructSymbol
1 parent 008a3fe commit ed982c1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sdk/lib/js_interop/js_interop.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -530,7 +530,7 @@ extension type JSBoolean._(JSBooleanRepType _jsBoolean) implements JSAny {}
530530
extension type JSString._(JSStringRepType _jsString) implements JSAny {}
531531

532532
@JS('Symbol')
533-
external JSSymbol _constructSymbol([String? description]);
533+
external JSSymbolRepType _constructSymbol([String? description]);
534534

535535
/// A JavaScript `Symbol`.
536536
extension type JSSymbol._(JSSymbolRepType _jsSymbol) implements JSAny {

0 commit comments

Comments
 (0)