Skip to content

Commit f1ff7e3

Browse files
style(formatting): npm run format
I forgot to do this, and now build is failing.
1 parent 93e0aa1 commit f1ff7e3

File tree

2 files changed

+5
-7
lines changed

2 files changed

+5
-7
lines changed

lib/core/registry.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -136,9 +136,9 @@ export type ClassAugmentedWithRegistry<C extends Class<object>> = C & {
136136
};
137137

138138
/** A class to register and retrieve classes by name. */
139-
export class Registry<
140-
T extends ConcreetClass<object>,
141-
> implements RequireAll<RegistryConstructorArguments> {
139+
export class Registry<T extends ConcreetClass<object>>
140+
implements RequireAll<RegistryConstructorArguments>
141+
{
142142
/** Injects a registry instance and it's methods to a class. */
143143
// eslint-disable-next-line @typescript-eslint/naming-convention
144144
public static readonly inject = Object.assign(

test/lib/core/compiler/io/loadPlugins.test.ts

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,7 @@ import { pathToFileURL } from 'node:url';
44

55
const pluginFile = '#test-plugin.js';
66

7-
const resolvedPath = pathToFileURL(
8-
path.resolve(pluginFile)
9-
).href;
7+
const resolvedPath = pathToFileURL(path.resolve(pluginFile)).href;
108

119
vi.doMock(resolvedPath, () => ({
1210
// eslint-disable-next-line @typescript-eslint/prefer-readonly-parameter-types, @typescript-eslint/no-explicit-any
@@ -16,7 +14,7 @@ vi.doMock(resolvedPath, () => ({
1614
class MyComponent extends Component {
1715
// eslint-disable-next-line @typescript-eslint/class-methods-use-this
1816
public render(): string {
19-
return "<html>...</html>";
17+
return '<html>...</html>';
2018
}
2119
}
2220
),

0 commit comments

Comments
 (0)