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 {} ...@@ -67,6 +67,8 @@ export class AppModule {}
### Inject Koishi instance ### Inject Koishi instance
```ts ```ts
import { KoishiService } from 'koishi-nestjs';
@Injectable() @Injectable()
export class AppService { export class AppService {
constructor(private koishi: KoishiService) {} constructor(private koishi: KoishiService) {}
......
{ {
"name": "koishi-nestjs", "name": "koishi-nestjs",
"version": "1.0.1", "version": "1.0.2",
"description": "Koishi.js as Nest.js Module", "description": "Koishi.js as Nest.js Module",
"main": "dist/index.js", "main": "dist/index.js",
"typings": "dist/index.d.ts", "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