feat(dart/transform): Add a parser for .ng_deps.dart
files and use.
Use the parser in `BindGenerator` This checkin also removes types from `registerSetters` calls since they can cause runtime failures (see #886). We will resolve this by generating change detector classes in the future.
This commit is contained in:
@ -5,6 +5,8 @@ import 'dart:convert';
|
||||
|
||||
import 'package:barback/barback.dart';
|
||||
|
||||
/// A class that allows fetching code using [AssetId]s without all the
|
||||
/// additional baggage of a [Transform].
|
||||
abstract class AssetReader {
|
||||
Future<String> readAsString(AssetId id, {Encoding encoding});
|
||||
Future<bool> hasInput(AssetId id);
|
||||
|
Reference in New Issue
Block a user