Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
import { NgModule } from "@angular/core";
import { isKnownView, registerElement } from "@nativescript/angular/element-registry";
const webviewElementName = "WebViewExt";
if (!isKnownView(webviewElementName)) {
registerElement(webviewElementName, () => require("../webview-ext").WebViewExt);
}
@NgModule()
export class WebViewExtModule {}