UNPKG

angular-formio

Version:

The Form.io dynamic form and data management system for Angular.

18 lines (15 loc) 379 B
import { Injectable, EventEmitter } from '@angular/core'; export interface FormioResourceMap { [name: string]: any; } @Injectable() export class FormioResources { resources: FormioResourceMap = {}; error: EventEmitter<any>; onError: EventEmitter<any>; constructor() { this.error = new EventEmitter(); this.onError = this.error; this.resources = {}; } }