Skip to content

Commit 375593a

Browse files
committed
fix: conditional export for before dart 3.3
1 parent c47d56d commit 375593a

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed
Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
11
library yet_another_json_isolate;
22

3-
export 'src/_isolates_io.dart' if (dart.library.js_interop) 'src/_isolates_web.dart';
3+
export 'src/_isolates_io.dart'
4+
if (dart.library.js_interop) 'src/_isolates_web.dart' // After Dart 3.3
5+
if (dart.library.js) 'src/_isolates_web.dart'; // Before Dart 3.3 (for backwards compatibility)

0 commit comments

Comments
 (0)