diff --git a/js_interop_gen/test/integration/interop_gen/duplicate_references_expected.dart b/js_interop_gen/test/integration/interop_gen/duplicate_references_expected.dart index bdce1fe1..fd79d5a1 100644 --- a/js_interop_gen/test/integration/interop_gen/duplicate_references_expected.dart +++ b/js_interop_gen/test/integration/interop_gen/duplicate_references_expected.dart @@ -41,12 +41,14 @@ extension type _AnonymousFunction_2123872< } extension type _AnonymousFunction_1873223._( _i1.JSFunction _ -) implements _i1.JSFunction { +) + implements _i1.JSFunction { external AnonymousUnion_3247291 call(_i1.JSAny? reason); } extension type AnonymousUnion_3247291._( _i1.JSAny _ -) implements _i1.JSAny { +) + implements _i1.JSAny { TResult2 get asTResult2 => (_ as TResult2); Thenable get asThenableOfTResult2 => (_ as Thenable); @@ -61,7 +63,8 @@ extension type AnonymousUnion_3555654< } extension type AnonymousUnion_2658987._( _i1.JSAny _ -) implements _i1.JSAny { +) + implements _i1.JSAny { TResult1 get asTResult1 => (_ as TResult1); Thenable get asThenableOfTResult1 => (_ as Thenable); diff --git a/js_interop_gen/test/integration/interop_gen/generic_union_casting_expected.dart b/js_interop_gen/test/integration/interop_gen/generic_union_casting_expected.dart index a59ecaeb..8a5efb6c 100644 --- a/js_interop_gen/test/integration/interop_gen/generic_union_casting_expected.dart +++ b/js_interop_gen/test/integration/interop_gen/generic_union_casting_expected.dart @@ -21,7 +21,8 @@ extension type CustomEventB._(_i1.JSObject _) typedef MixedEventUnion = AnonymousUnion_3597781; extension type AnonymousUnion_3597781._( Event> _ -) implements Event> { +) + implements Event> { Event> get asEventOfCustomEventAOfT => _; Event> get asEventOfCustomEventBOfT => diff --git a/js_interop_gen/test/integration/interop_gen/generic_union_expected.dart b/js_interop_gen/test/integration/interop_gen/generic_union_expected.dart index 618fb20c..ffc58261 100644 --- a/js_interop_gen/test/integration/interop_gen/generic_union_expected.dart +++ b/js_interop_gen/test/integration/interop_gen/generic_union_expected.dart @@ -19,7 +19,8 @@ extension type OtherContainer._(_i1.JSObject _) } extension type TargetClassWithGenericUnion._( _i1.JSObject _ -) implements _i1.JSObject { +) + implements _i1.JSObject { external AnonymousUnion_3899151 field; } extension type AnonymousUnion_3063943._(_i1.JSAny _) implements _i1.JSAny { diff --git a/js_interop_gen/test/integration/interop_gen/module_generic_param_expected.dart b/js_interop_gen/test/integration/interop_gen/module_generic_param_expected.dart index 077cfaa9..534cbbcb 100644 --- a/js_interop_gen/test/integration/interop_gen/module_generic_param_expected.dart +++ b/js_interop_gen/test/integration/interop_gen/module_generic_param_expected.dart @@ -16,6 +16,7 @@ extension type Event._(_i1.JSObject _) } extension type _AnonymousFunction_6204725._( _i1.JSFunction _ -) implements _i1.JSFunction { +) + implements _i1.JSFunction { external _i1.JSAny? call(T e); } diff --git a/js_interop_gen/test/integration/interop_gen/namespaces_expected.dart b/js_interop_gen/test/integration/interop_gen/namespaces_expected.dart index d9e8dc48..845ffdaf 100644 --- a/js_interop_gen/test/integration/interop_gen/namespaces_expected.dart +++ b/js_interop_gen/test/integration/interop_gen/namespaces_expected.dart @@ -248,7 +248,8 @@ extension type EnterpriseApp_DataServices._(_i1.JSObject _) @_i1.JS('EnterpriseApp.DataServices.IDataService') extension type EnterpriseApp_DataServices_IDataService._( _i1.JSObject _ -) implements _i1.JSObject { +) + implements _i1.JSObject { external _i1.JSArray getAll(); external T getById(String id); external void save(T item); diff --git a/js_interop_gen/test/integration/interop_gen/ts_typing_expected.dart b/js_interop_gen/test/integration/interop_gen/ts_typing_expected.dart index 1b32e6f6..ca14ae1c 100644 --- a/js_interop_gen/test/integration/interop_gen/ts_typing_expected.dart +++ b/js_interop_gen/test/integration/interop_gen/ts_typing_expected.dart @@ -231,7 +231,8 @@ extension type const KeyOf_TypeOf_MyEnum._(String _) { } extension type _AnonymousFunction_3794666._( _i1.JSFunction _ -) implements _i1.JSFunction { +) + implements _i1.JSFunction { external ComposedType call(T object); } extension type ComposedType._(_i1.JSObject _) diff --git a/js_interop_gen/test/integration/interop_gen/union_constraint_override_expected.dart b/js_interop_gen/test/integration/interop_gen/union_constraint_override_expected.dart index bdbea1b9..6e013d53 100644 --- a/js_interop_gen/test/integration/interop_gen/union_constraint_override_expected.dart +++ b/js_interop_gen/test/integration/interop_gen/union_constraint_override_expected.dart @@ -20,7 +20,8 @@ extension type HolderB._(_i1.JSObject _) typedef ConstraintUnion = AnonymousUnion_7450886; extension type AnonymousUnion_7450886._( _i1.JSObject _ -) implements _i1.JSObject { +) + implements _i1.JSObject { HolderA get asHolderAOfT => (_ as HolderA); HolderB get asHolderBOfT => (_ as HolderB);