Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions protobuf/lib/src/protobuf/json/json_web.dart
Original file line number Diff line number Diff line change
Expand Up @@ -14,16 +14,16 @@ import '../utils.dart';

@JS('JSON')
extension type _JSON._(JSObject _) implements JSObject {
@JS('JSON.stringify')
@JS('stringify')
external static JSString _stringify(JSObject value);

@JS('JSON.parse')
@JS('parse')
external static JSAny? _parse(JSString text);
}

@JS('Number')
extension type _Number._(JSObject _) implements JSObject {
@JS('Number.isInteger')
@JS('isInteger')
external static bool _isInteger(JSAny value);
}

Expand Down
Loading