ngtools unexpected compile result

Run npm run build:aot and you will see error