Skip to content

Commit ab158f9

Browse files
committed
Run prettier after upgrade
1 parent 431c08c commit ab158f9

File tree

23 files changed

+90
-58
lines changed

23 files changed

+90
-58
lines changed

index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<!DOCTYPE html>
1+
<!doctype html>
22
<html lang="en">
33
<head>
44
<meta charset="UTF-8" />

packages/@ember/-internals/container/lib/container.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -493,7 +493,7 @@ export function setFactoryFor<T extends object, C extends FactoryClass | object>
493493

494494
export class InternalFactoryManager<
495495
T extends object,
496-
C extends FactoryClass | object = FactoryClass
496+
C extends FactoryClass | object = FactoryClass,
497497
> implements FactoryManager<T>
498498
{
499499
readonly container: Container;

packages/@ember/-internals/container/lib/registry.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -322,7 +322,7 @@ export default class Registry {
322322
} else if (this.fallback !== null) {
323323
return this.fallback.makeToString(factory, fullName);
324324
} else {
325-
return typeof factory === 'string' ? factory : factory.name ?? '(unknown class)';
325+
return typeof factory === 'string' ? factory : (factory.name ?? '(unknown class)');
326326
}
327327
}
328328

packages/@ember/-internals/glimmer/lib/component-managers/outlet.ts

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -178,8 +178,7 @@ const OUTLET_COMPONENT_TEMPLATE = precompileTemplate(
178178
);
179179

180180
export class OutletComponent
181-
implements
182-
ComponentDefinition<OutletDefinitionState, OutletInstanceState, OutletComponentManager>
181+
implements ComponentDefinition<OutletDefinitionState, OutletInstanceState, OutletComponentManager>
183182
{
184183
// handle is not used by this custom definition
185184
public handle = -1;
@@ -188,7 +187,10 @@ export class OutletComponent
188187
public capabilities = CAPABILITIES_MASK;
189188
public compilable: CompilableProgram;
190189

191-
constructor(owner: InternalOwner, public state: OutletDefinitionState) {
190+
constructor(
191+
owner: InternalOwner,
192+
public state: OutletDefinitionState
193+
) {
192194
this.compilable = unwrapTemplate(OUTLET_COMPONENT_TEMPLATE(owner)).asLayout();
193195
}
194196
}

packages/@ember/-internals/glimmer/lib/component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -804,7 +804,7 @@ class Component<S = unknown>
804804

805805
// SAFETY: this has no runtime existence whatsoever; it is a "phantom type"
806806
// here to preserve the type param.
807-
private declare [SIGNATURE]: S;
807+
declare private [SIGNATURE]: S;
808808

809809
// SAFTEY: This is set in `init`.
810810
declare _superRerender: ViewMixin['rerender'];

packages/@ember/-internals/glimmer/lib/components/link-to.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -281,7 +281,7 @@ class _LinkTo extends InternalComponent {
281281
return 'LinkTo';
282282
}
283283

284-
@service('-routing') private declare routing: RoutingService<Route>;
284+
@service('-routing') declare private routing: RoutingService<Route>;
285285

286286
validateArguments(): void {
287287
assert(

packages/@ember/-internals/glimmer/lib/environment.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,10 @@ const VM_ASSERTION_OVERRIDES: { id: string; message: string }[] = [];
131131
export class EmberEnvironmentDelegate implements EnvironmentDelegate {
132132
public enableDebugTooling: boolean = ENV._DEBUG_RENDER_TREE;
133133

134-
constructor(public owner: InternalOwner, public isInteractive: boolean) {}
134+
constructor(
135+
public owner: InternalOwner,
136+
public isInteractive: boolean
137+
) {}
135138

136139
onTransactionCommit(): void {}
137140
}

packages/@ember/-internals/glimmer/lib/helper.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ export default class Helper<S = unknown> extends FrameworkObject {
127127

128128
// SAFETY: this has no runtime existence whatsoever; it is a "phantom type"
129129
// here to preserve the type param.
130-
private declare [SIGNATURE]: S;
130+
declare private [SIGNATURE]: S;
131131

132132
init(properties: object | undefined) {
133133
super.init(properties);

packages/@ember/-internals/glimmer/lib/modifiers/internal.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,10 @@ class InternalModifierState implements Destroyable {
5555
export abstract class InternalModifierManager
5656
implements ModifierManager<InternalModifierState, typeof InternalModifier>
5757
{
58-
constructor(private ModifierClass: typeof InternalModifier, private name: string) {}
58+
constructor(
59+
private ModifierClass: typeof InternalModifier,
60+
private name: string
61+
) {}
5962

6063
create(
6164
owner: InternalOwner,

packages/@ember/-internals/glimmer/lib/renderer.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,10 @@ export interface View {
6565
}
6666

6767
export class DynamicScope implements GlimmerDynamicScope {
68-
constructor(public view: View | null, public outletState: Reference<OutletState | undefined>) {}
68+
constructor(
69+
public view: View | null,
70+
public outletState: Reference<OutletState | undefined>
71+
) {}
6972

7073
child() {
7174
return new DynamicScope(this.view, this.outletState);

0 commit comments

Comments
 (0)