Commit e8d0f774 authored by nanahira's avatar nanahira

doc

parent c6fff467
Pipeline #6048 passed with stages
in 27 seconds
......@@ -67,6 +67,8 @@ export class AppModule {}
### Inject Koishi instance
```ts
import { KoishiService } from 'koishi-nestjs';
@Injectable()
export class AppService {
constructor(private koishi: KoishiService) {}
......
{
"name": "koishi-nestjs",
"version": "1.0.1",
"version": "1.0.2",
"description": "Koishi.js as Nest.js Module",
"main": "dist/index.js",
"typings": "dist/index.d.ts",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment