[BUG] `pnpm build` failed when tsconfig ` "declaration": true`
<!--

/!\ IMPORTANT: Before opening issue

- Please update all of your packages. I won't investigate on the issue if you are on an old version.
- Please check that you have the same version for all Ts.ED dependencies (expected the logger). Many issues are related to a misconfigured packages.
- Please provide a reproducible example (avoid screenshot, prefer copy/pasted code). The stack trace isn't enough to investigate.

If theses requirements aren't checked, I WON'T INVESTIGATE (excepted if you are a PREMIUM SPONSORS!) and issue will be CLOSED!
-->

## Information

- **Version:** 7.8.2
- Packages: 
related:
```
        "@tsed/ajv": "7.8.2",
        "@tsed/cli-core": "4.2.4",
        "@tsed/common": "7.8.2",
        "@tsed/core": "7.8.2",
        "@tsed/di": "7.8.2",
        "@tsed/engines": "7.8.2",
        "@tsed/exceptions": "7.8.2",
        "@tsed/json-mapper": "7.8.2",
        "@tsed/logger": "^6.3.3",
        "@tsed/logger-file": "^6.3.3",
        "@tsed/passport": "7.8.2",
        "@tsed/platform-cache": "7.8.2",
        "@tsed/platform-exceptions": "7.8.2",
        "@tsed/platform-express": "7.8.2",
        "@tsed/platform-log-middleware": "7.8.2",
        "@tsed/platform-middlewares": "7.8.2",
        "@tsed/platform-params": "7.8.2",
        "@tsed/platform-response-filter": "7.8.2",
        "@tsed/platform-views": "7.8.2",
        "@tsed/prisma": "7.8.2",
        "@tsed/schema": "7.8.2",
        "@tsed/swagger": "7.8.2",
```

Some files (controllers) cannot be built since the typescript declaration `*.d.ts`. when using `pnpm` to build

pnpm version: 7.18.0

I've tested yarn `1.22.19`, it's ok to `yarn build` but it failed when `pnpm build`, the error was thrown:
```
src/controllers/pages/IndexController.ts:16:5 - error TS2742: The inferred type of 'get' cannot be named without a reference to '.pnpm/@tsed+openspec@7.8.2/node_modules/@tsed/openspec'. This is likely not portable. A type annotation is necessary.

16     get(@HeaderParams('x-forwarded-proto') protocol: string, @HeaderParams('host') host: string) {
       ~~~


Found 1 error in src/controllers/pages/IndexController.ts:16

 ELIFECYCLE  Command failed with exit code 1.
```

to get around this, we write `"declaration": false,` in `tsconfig.complie.json`

I am wondering if there is any way to make it built as expected with `pnpm`?


## Example
I go with the way of official template, we have a swagger controller like this

```typescript
import { Constant, Controller } from '@tsed/di';
import { HeaderParams } from '@tsed/platform-params';
import { View } from '@tsed/platform-views';
import { SwaggerSettings } from '@tsed/swagger';
import { Hidden, Get, Returns } from '@tsed/schema';

@Hidden()
@Controller('/')
export class IndexController {
    @Constant('swagger')
    private swagger: SwaggerSettings[];

    @Get('/')
    @View('swagger.ejs')
    @Returns(200, String).ContentType('text/html')
    get(@HeaderParams('x-forwarded-proto') protocol: string, @HeaderParams('host') host: string) {
        const hostUrl = `${protocol || 'http'}://${host}`;

        return {
            BASE_URL: hostUrl,
            docs: this.swagger.map((conf) => {
                return {
                    url: hostUrl + conf.path,
                    ...conf
                };
            })
        };
    }
}
```
