Skip to content

Commit 0c93692

Browse files
chore: update prettier
1 parent 0430f3f commit 0c93692

32 files changed

Lines changed: 88 additions & 85 deletions

integration/inspector/src/core/interceptors/transform.interceptor.ts

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,10 @@ export interface Response<T> {
1212
}
1313

1414
@Injectable()
15-
export class TransformInterceptor<T>
16-
implements NestInterceptor<T, Response<T>>
17-
{
15+
export class TransformInterceptor<T> implements NestInterceptor<
16+
T,
17+
Response<T>
18+
> {
1819
intercept(
1920
context: ExecutionContext,
2021
next: CallHandler<T>,

package-lock.json

Lines changed: 5 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@
167167
"nats": "2.29.3",
168168
"nodemon": "3.1.11",
169169
"nyc": "14.1.1",
170-
"prettier": "3.6.2",
170+
"prettier": "^3.7.4",
171171
"redis": "5.10.0",
172172
"rxjs-compat": "6.6.7",
173173
"sinon": "21.0.0",

packages/common/interfaces/nest-application.interface.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,9 @@ import { WebSocketAdapter } from './websockets/web-socket-adapter.interface';
1717
*
1818
* @publicApi
1919
*/
20-
export interface INestApplication<TServer = any>
21-
extends INestApplicationContext {
20+
export interface INestApplication<
21+
TServer = any,
22+
> extends INestApplicationContext {
2223
/**
2324
* A wrapper function around HTTP adapter method: `adapter.use()`.
2425
* Example `app.use(cors())`

packages/common/module-utils/configurable-module.builder.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,8 +53,8 @@ export interface ConfigurableModuleBuilderOptions {
5353
export class ConfigurableModuleBuilder<
5454
ModuleOptions,
5555
StaticMethodKey extends string = typeof DEFAULT_METHOD_KEY,
56-
FactoryClassMethodKey extends
57-
string = typeof DEFAULT_FACTORY_CLASS_METHOD_KEY,
56+
FactoryClassMethodKey extends string =
57+
typeof DEFAULT_FACTORY_CLASS_METHOD_KEY,
5858
ExtraModuleDefinitionOptions = {},
5959
> {
6060
protected staticMethodKey: StaticMethodKey;

packages/common/module-utils/interfaces/configurable-module-async-options.interface.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,8 @@ export type ConfigurableModuleOptionsFactory<
2828
*/
2929
export interface ConfigurableModuleAsyncOptions<
3030
ModuleOptions,
31-
FactoryClassMethodKey extends
32-
string = typeof DEFAULT_FACTORY_CLASS_METHOD_KEY,
31+
FactoryClassMethodKey extends string =
32+
typeof DEFAULT_FACTORY_CLASS_METHOD_KEY,
3333
> extends Pick<ModuleMetadata, 'imports'> {
3434
/**
3535
* Injection token resolving to an existing provider. The provider must implement

packages/common/module-utils/interfaces/configurable-module-cls.interface.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ import { ConfigurableModuleAsyncOptions } from './configurable-module-async-opti
1616
export type ConfigurableModuleCls<
1717
ModuleOptions,
1818
MethodKey extends string = typeof DEFAULT_METHOD_KEY,
19-
FactoryClassMethodKey extends
20-
string = typeof DEFAULT_FACTORY_CLASS_METHOD_KEY,
19+
FactoryClassMethodKey extends string =
20+
typeof DEFAULT_FACTORY_CLASS_METHOD_KEY,
2121
ExtraModuleDefinitionOptions = {},
2222
> = {
2323
new (): any;

packages/common/pipes/default-value.pipe.ts

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,10 @@ import { isNil, isNumber } from '../utils/shared.utils';
1313
* @publicApi
1414
*/
1515
@Injectable()
16-
export class DefaultValuePipe<T = any, R = any>
17-
implements PipeTransform<T, T | R>
18-
{
16+
export class DefaultValuePipe<T = any, R = any> implements PipeTransform<
17+
T,
18+
T | R
19+
> {
1920
constructor(protected readonly defaultValue: R) {}
2021

2122
transform(value?: T, _metadata?: ArgumentMetadata): T | R {

packages/common/pipes/parse-array.pipe.ts

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,10 @@ const DEFAULT_ARRAY_SEPARATOR = ',';
1616
/**
1717
* @publicApi
1818
*/
19-
export interface ParseArrayOptions
20-
extends Omit<
21-
ValidationPipeOptions,
22-
'transform' | 'validateCustomDecorators' | 'exceptionFactory'
23-
> {
19+
export interface ParseArrayOptions extends Omit<
20+
ValidationPipeOptions,
21+
'transform' | 'validateCustomDecorators' | 'exceptionFactory'
22+
> {
2423
/**
2524
* Type for items to be converted into
2625
*/

packages/common/pipes/parse-bool.pipe.ts

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,9 +41,10 @@ export interface ParseBoolPipeOptions {
4141
* @publicApi
4242
*/
4343
@Injectable()
44-
export class ParseBoolPipe
45-
implements PipeTransform<string | boolean, Promise<boolean>>
46-
{
44+
export class ParseBoolPipe implements PipeTransform<
45+
string | boolean,
46+
Promise<boolean>
47+
> {
4748
protected exceptionFactory: (error: string) => any;
4849

4950
constructor(@Optional() protected readonly options?: ParseBoolPipeOptions) {

0 commit comments

Comments
 (0)