From 69ad1a82aa0062277e3ba200f5a11a7104baec3c Mon Sep 17 00:00:00 2001 From: I Date: Mon, 6 Sep 2021 15:20:03 +0300 Subject: [PATCH] Compatibility with angular 9+ https://v9.angular.io/guide/deprecations#modulewithproviders-type-without-a-generic --- src/jsoneditor.module.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/jsoneditor.module.ts b/src/jsoneditor.module.ts index 45b293a..d718b09 100755 --- a/src/jsoneditor.module.ts +++ b/src/jsoneditor.module.ts @@ -15,7 +15,7 @@ import {JSONEditorComponent} from './jsoneditor.component'; ] }) export class JSONEditorModule { - static forRoot(): ModuleWithProviders { + static forRoot(): ModuleWithProviders { return { ngModule: JSONEditorModule, };