Change type import rule (#13751)

Forcing "type" to be explicit, works best will rollup on the frontend to
exclude depdendencies
This commit is contained in:
Félix Malfait
2025-08-08 01:27:05 +02:00
committed by GitHub
parent 525c8bfe3c
commit 8b4b9ef8da
2050 changed files with 5124 additions and 4912 deletions
@@ -1,4 +1,4 @@
import { createParamDecorator, ExecutionContext } from '@nestjs/common';
import { createParamDecorator, type ExecutionContext } from '@nestjs/common';
import { getRequest } from 'src/utils/extract-request';
@@ -1,4 +1,4 @@
import { ExecutionContext, createParamDecorator } from '@nestjs/common';
import { type ExecutionContext, createParamDecorator } from '@nestjs/common';
import { getRequest } from 'src/utils/extract-request';
@@ -1,4 +1,4 @@
import { ExecutionContext, createParamDecorator } from '@nestjs/common';
import { type ExecutionContext, createParamDecorator } from '@nestjs/common';
import { getRequest } from 'src/utils/extract-request';
@@ -1,5 +1,5 @@
import {
ExecutionContext,
type ExecutionContext,
ForbiddenException,
createParamDecorator,
} from '@nestjs/common';
@@ -1,4 +1,4 @@
import { ExecutionContext, createParamDecorator } from '@nestjs/common';
import { type ExecutionContext, createParamDecorator } from '@nestjs/common';
import { getRequest } from 'src/utils/extract-request';
@@ -1,5 +1,5 @@
import {
ExecutionContext,
type ExecutionContext,
InternalServerErrorException,
createParamDecorator,
} from '@nestjs/common';
@@ -1,7 +1,7 @@
import {
registerDecorator,
ValidationOptions,
ValidationArguments,
type ValidationOptions,
type ValidationArguments,
} from 'class-validator';
export function IsValidMetadataName(validationOptions?: ValidationOptions) {