From 5952d12404ae896a2338ee4ee79d68876ffbb205 Mon Sep 17 00:00:00 2001 From: "CHANG, TZU-YEN" Date: Tue, 19 Feb 2019 13:44:32 +0800 Subject: [PATCH] docs(typescript): fix wrong path of LifeCycle (#3475) --- docs/source/en/tutorials/typescript.md | 2 +- docs/source/zh-cn/tutorials/typescript.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/source/en/tutorials/typescript.md b/docs/source/en/tutorials/typescript.md index 663dfaad87..7bc9890985 100644 --- a/docs/source/en/tutorials/typescript.md +++ b/docs/source/en/tutorials/typescript.md @@ -308,7 +308,7 @@ export default plugin; ### Lifecycle ```typescript -// app/app.ts +// app.ts import { Application, IBoot } from 'egg'; export default class FooBoot implements IBoot { diff --git a/docs/source/zh-cn/tutorials/typescript.md b/docs/source/zh-cn/tutorials/typescript.md index e9d388fe0e..6c6638e40c 100644 --- a/docs/source/zh-cn/tutorials/typescript.md +++ b/docs/source/zh-cn/tutorials/typescript.md @@ -307,7 +307,7 @@ export default plugin; ### 生命周期(Lifecycle) ```typescript -// app/app.ts +// app.ts import { Application, IBoot } from 'egg'; export default class FooBoot implements IBoot {