From a3f72d92f2af67311be102e82594391756a71881 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B5=B5=E6=AD=A3=E9=98=B3?= Date: Wed, 5 Dec 2018 10:13:49 +0800 Subject: [PATCH] docs(ivy): remove duplicated words in architecture doc (#27471) PR Close #27471 --- packages/compiler/design/architecture.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/compiler/design/architecture.md b/packages/compiler/design/architecture.md index 9c140c6ffd..776207b34c 100644 --- a/packages/compiler/design/architecture.md +++ b/packages/compiler/design/architecture.md @@ -68,7 +68,7 @@ GreetComponent = tslib_1.__decorate([ ], GreetComponent); ``` -which translates the decorator into a form that is is executed at runtime. A `.d.ts` file is also emitted that might look something like +which translates the decorator into a form that is executed at runtime. A `.d.ts` file is also emitted that might look something like ```ts export class GreetComponent { @@ -146,7 +146,7 @@ TypeScript supports the following extension points to alter its output. You can, 1. Modify the TypeScript source it sees (`CompilerHost.getSourceFile`) 2. Alter the list of transforms (`CustomTransformers`) -3. Intercept the the output before it is written (`WriteFileCallback`) +3. Intercept the output before it is written (`WriteFileCallback`) It is not recommended to alter the source code as this complicates the managing of source maps, makes it difficult to support incremental parsing, and is not supported by TypeScript's language service plug-in model.