mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
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:
committed by
Jeremy Elbourn
parent
30a8490299
commit
d0f0f0afd1
@@ -8,5 +8,5 @@
|
||||
import {NgModule} from '@angular/core';
|
||||
|
||||
|
||||
@NgModule()
|
||||
@NgModule({})
|
||||
export class LayoutModule {}
|
||||
|
||||
Reference in New Issue
Block a user