build: add tooling to avoid jit issues with empty NgModule definitions (#13843)

* Expands the decorator validation rule to allow us to run a regex against all the arguments of a decorator. This allows us to guard against cases like #13792.
* Fixes a similar issue as #13792 in the `LayoutModule` which was caught after the new changes to the rule.
This commit is contained in:
Kristiyan Kostadinov
2018-10-30 19:34:51 +01:00
committed by Jeremy Elbourn
parent 30a8490299
commit d0f0f0afd1
3 changed files with 50 additions and 26 deletions
+1 -1
View File
@@ -8,5 +8,5 @@
import {NgModule} from '@angular/core';
@NgModule()
@NgModule({})
export class LayoutModule {}