Skip to content

Commit 628cf7b

Browse files
committed
Don't use type parameters for types that come from JS
JS values never have reified generics.
1 parent 13b8ad6 commit 628cf7b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lib/src/node/render_options.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ class RenderOptions {
1313
external String get data;
1414
external dynamic get importer;
1515
external dynamic get functions;
16-
external List<String> get includePaths;
16+
external List get includePaths; // contains Strings
1717
external bool get indentedSyntax;
1818
external bool get omitSourceMapUrl;
1919
external String get outFile;

lib/src/node/render_result.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ class RenderResultStats {
2424
external int get start;
2525
external int get end;
2626
external int get duration;
27-
external List<String> get includedFiles;
27+
external List get includedFiles; // contains Strings
2828

2929
external factory RenderResultStats(
3030
{String entry,

0 commit comments

Comments
 (0)