From c507dda21a0d9ef3d903ced170ab1c8b294ea716 Mon Sep 17 00:00:00 2001 From: Danny Skoog Date: Sun, 6 Oct 2019 23:09:45 +0200 Subject: [PATCH] docs: correct sentence in AoT compiler guide (#33020) PR Close #33020 --- aio/content/guide/aot-compiler.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aio/content/guide/aot-compiler.md b/aio/content/guide/aot-compiler.md index f3eb6c1dce..35b6dec4f2 100644 --- a/aio/content/guide/aot-compiler.md +++ b/aio/content/guide/aot-compiler.md @@ -467,7 +467,7 @@ export class AppComponent { The collector can represent a function call or object creation with `new` as long as the syntax is valid. The compiler, however, can later refuse to generate a call to a _particular_ function or creation of a _particular_ object. -The compiler can only create instances certain classes, supports only core decorators, and only supports calls to macros (functions or static methods) that return expressions. +The compiler can only create instances of certain classes, supports only core decorators, and only supports calls to macros (functions or static methods) that return expressions. * New instances The compiler only allows metadata that create instances of the class `InjectionToken` from `@angular/core`.