Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
copy(event: KeyboardEvent) {
const prop = this.property;
if (prop) {
copy(event, prop, this.dragAndDrop);
}
}
copy(event: KeyboardEvent, item: IDraggableViewModel) {
copy(event, item, this.dragAndDrop);
}
copy(event: KeyboardEvent) {
const obj = this.object;
if (obj) {
copy(event, obj, this.dragAndDrop);
}
}
private validateDate(newValue: string) {
return validateDate(newValue, this.validInputFormats);
}
import { LibModule as ViewModelModule } from '@nakedobjects/view-models';
import { RoutingModule } from './app-routing.module';
import { AppComponent } from './app.component';
@NgModule({
declarations: [
AppComponent,
],
imports: [
BrowserModule,
FormsModule,
RoutingModule,
ReactiveFormsModule,
HttpClientModule,
ServicesModule.forRoot(),
ViewModelModule.forRoot(),
CiceroModule.forRoot(),
GeminiModule.forRoot(),
],
providers: [
],
bootstrap: [AppComponent]
})
export class AppModule { }