Nest is a modern framework designed to build efficient, scalable web applications
(c) nestjs.com
🐊Putout plugin adds ability tosupport nestjs. Not Bundled.
npm i putout @putout/plugin-nestjs -D
- ✅ declare;
{
"rules": {
"nestjs/declare": "on"
},
"plugin": ["nestjs"]
}Add Nestjs declaration on top of a file.
Checkout in 🐊Putout Editor.
@Injectable()
export class GistService {
constructor(private readonly githubService: GithubService) {}
load(gistId: string, revisionId?: string) {
return this.githubService.load(gistId, revisionId);
}
}import {Injectable} from '@nestjs/common';
@Injectable()
export class GistService {
constructor(private readonly githubService: GithubService) {}
load(gistId: string, revisionId?: string) {
return this.githubService.load(gistId, revisionId);
}
}MIT