Skip to content

Commit e9a718c

Browse files
authored
Merge pull request #21084 from emberjs/rev-lockfile
Re-roll lockfile for local development
2 parents 105cedd + 8a68db5 commit e9a718c

21 files changed

Lines changed: 5417 additions & 7396 deletions

File tree

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

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -459,8 +459,10 @@ export interface LazyInjection {
459459
specifier: string;
460460
}
461461

462-
declare interface DebugFactory<T extends object, C extends FactoryClass | object = FactoryClass>
463-
extends InternalFactory<T, C> {
462+
declare interface DebugFactory<
463+
T extends object,
464+
C extends FactoryClass | object = FactoryClass,
465+
> extends InternalFactory<T, C> {
464466
_onLookup?: (fullName: string) => void;
465467
_lazyInjections?: () => { [key: string]: LazyInjection };
466468
_initFactory?: (factoryManager: InternalFactoryManager<T, C>) => void;
@@ -494,8 +496,7 @@ export function setFactoryFor<T extends object, C extends FactoryClass | object>
494496
export class InternalFactoryManager<
495497
T extends object,
496498
C extends FactoryClass | object = FactoryClass,
497-
> implements FactoryManager<T>
498-
{
499+
> implements FactoryManager<T> {
499500
readonly container: Container;
500501
readonly owner: InternalOwner | null;
501502
readonly class: DebugFactory<T, C>;

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,8 @@ export interface Injection {
2020
}
2121

2222
export interface ResolverClass
23-
extends Factory<Resolver>,
23+
extends
24+
Factory<Resolver>,
2425
Partial<{
2526
new (...args: any): Resolver;
2627
}> {}

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

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -177,9 +177,11 @@ const OUTLET_COMPONENT_TEMPLATE = precompileTemplate(
177177
{ strictMode: true }
178178
);
179179

180-
export class OutletComponent
181-
implements ComponentDefinition<OutletDefinitionState, OutletInstanceState, OutletComponentManager>
182-
{
180+
export class OutletComponent implements ComponentDefinition<
181+
OutletDefinitionState,
182+
OutletInstanceState,
183+
OutletComponentManager
184+
> {
183185
// handle is not used by this custom definition
184186
public handle = -1;
185187
public resolvedName = null;

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

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -118,14 +118,11 @@ const ROUTE_TEMPLATE_MANAGER = new RouteTemplateManager();
118118
* so unless the stability is desirable for other reasons, it's probably not
119119
* worth caching this.
120120
*/
121-
export class RouteTemplate
122-
implements
123-
ComponentDefinition<
124-
RouteTemplateDefinitionState,
125-
RouteTemplateInstanceState,
126-
RouteTemplateManager
127-
>
128-
{
121+
export class RouteTemplate implements ComponentDefinition<
122+
RouteTemplateDefinitionState,
123+
RouteTemplateInstanceState,
124+
RouteTemplateManager
125+
> {
129126
// handle is not used by this custom definition
130127
public handle = -1;
131128
public resolvedName: string;

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

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -796,10 +796,7 @@ declare const SIGNATURE: unique symbol;
796796
// This type param is used in the class, so must appear here.
797797
// eslint-disable-next-line @typescript-eslint/no-unused-vars
798798
interface Component<S = unknown>
799-
extends CoreView,
800-
TargetActionSupport,
801-
ActionSupport,
802-
ComponentMethods {}
799+
extends CoreView, TargetActionSupport, ActionSupport, ComponentMethods {}
803800

804801
class Component<S = unknown>
805802
extends CoreView.extend(

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

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -52,9 +52,10 @@ class InternalModifierState implements Destroyable {
5252
constructor(readonly instance: InternalModifier) {}
5353
}
5454

55-
export abstract class InternalModifierManager
56-
implements ModifierManager<InternalModifierState, typeof InternalModifier>
57-
{
55+
export abstract class InternalModifierManager implements ModifierManager<
56+
InternalModifierState,
57+
typeof InternalModifier
58+
> {
5859
constructor(
5960
private ModifierClass: typeof InternalModifier,
6061
private name: string

packages/@ember/-internals/metal/tests/computed_test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -984,8 +984,8 @@ moduleFor(
984984
class LazyObject {
985985
value = 123;
986986

987-
// eslint-disable-next-line no-dupe-class-members
988987
@computed('_value')
988+
// eslint-disable-next-line no-dupe-class-members
989989
get value() {
990990
return get(this, '_value');
991991
}

packages/@ember/-internals/owner/index.ts

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -489,8 +489,10 @@ export interface FactoryClass {
489489
@class InternalFactory
490490
@private
491491
*/
492-
export interface InternalFactory<T extends object, C extends FactoryClass | object = FactoryClass>
493-
extends Factory<T> {
492+
export interface InternalFactory<
493+
T extends object,
494+
C extends FactoryClass | object = FactoryClass,
495+
> extends Factory<T> {
494496
/**
495497
@property class
496498
@optional

packages/@ember/array/index.ts

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1933,8 +1933,10 @@ type RETURN_SELF_ARRAY_METHODS =
19331933
| 'setEach';
19341934

19351935
// This is the same as MutableArray, but removes the actual native methods that exist on Array.prototype.
1936-
interface MutableArrayWithoutNative<T>
1937-
extends Omit<MutableArray<T>, IGNORED_MUTABLE_ARRAY_METHODS | RETURN_SELF_ARRAY_METHODS> {
1936+
interface MutableArrayWithoutNative<T> extends Omit<
1937+
MutableArray<T>,
1938+
IGNORED_MUTABLE_ARRAY_METHODS | RETURN_SELF_ARRAY_METHODS
1939+
> {
19381940
/**
19391941
* Remove all elements from the array. This is useful if you
19401942
* want to reuse an existing array without having to recreate it.

packages/@ember/template-compiler/lib/template.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,8 +93,9 @@ export interface ExplicitTemplateOnlyOptions extends BaseTemplateOptions {
9393
* }
9494
* ```
9595
*/
96-
export interface ExplicitClassOptions<C extends ComponentClass>
97-
extends BaseClassTemplateOptions<C> {
96+
export interface ExplicitClassOptions<
97+
C extends ComponentClass,
98+
> extends BaseClassTemplateOptions<C> {
9899
scope(instance?: InstanceType<C>): Record<string, unknown>;
99100
}
100101

0 commit comments

Comments
 (0)