Add cast to prepare for package:file update (#33268)
This commit is contained in:
@@ -46,7 +46,7 @@ abstract class DevFSContent {
|
||||
Stream<List<int>> contentsAsStream();
|
||||
|
||||
Stream<List<int>> contentsAsCompressedStream() {
|
||||
return contentsAsStream().transform<List<int>>(gzip.encoder);
|
||||
return contentsAsStream().cast<List<int>>().transform<List<int>>(gzip.encoder);
|
||||
}
|
||||
|
||||
/// Return the list of files this content depends on.
|
||||
|
||||
Reference in New Issue
Block a user