feat(ivy): statically resolve template expressions (#24862)

This commit adds support for template substitution expressions for
ngtsc static resolution.

PR Close #24862
This commit is contained in:
Alex Rickabaugh
2018-07-09 11:39:15 -07:00
committed by Victor Berchet
parent e346c3c2f2
commit 8a986d4642
3 changed files with 22 additions and 1 deletions

View File

@ -345,7 +345,7 @@ describe('ngtsc behavioral tests', () => {
expect(dtsContents).toContain('i0.ɵNgModuleDef<TestModule, [TestPipe,TestCmp], [], []>');
});
it('should unwrap a ModuleWithProviders functoin if a generic type is provided for it', () => {
it('should unwrap a ModuleWithProviders function if a generic type is provided for it', () => {
writeConfig();
write(`test.ts`, `
import {NgModule} from '@angular/core';