mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-31 17:38:48 +00:00
Remove local declare var and using declaration file
This commit is contained in:
@@ -19,9 +19,6 @@ import { Directive, OnInit, ElementRef, Input, Output, EventEmitter } from '@ang
|
||||
import { RaphaelBase } from './raphael-base';
|
||||
import { RaphaelService } from './raphael.service';
|
||||
|
||||
declare let Raphael: any;
|
||||
declare let Polyline: any;
|
||||
|
||||
@Directive({selector: 'raphael-flow-arrow'})
|
||||
export class RaphaelFlowArrowDirective extends RaphaelBase implements OnInit {
|
||||
@Input()
|
||||
|
@@ -17,8 +17,6 @@
|
||||
|
||||
import { Injectable } from '@angular/core';
|
||||
|
||||
declare let Raphael: any;
|
||||
|
||||
@Injectable()
|
||||
export class RaphaelService {
|
||||
|
||||
|
@@ -18,8 +18,6 @@
|
||||
import { Component } from '@angular/core';
|
||||
import { WidgetComponent } from './../widget.component';
|
||||
|
||||
declare var componentHandler;
|
||||
|
||||
@Component({
|
||||
moduleId: module.id,
|
||||
selector: 'checkbox-widget',
|
||||
|
@@ -20,8 +20,6 @@ import { AbstractControl, FormGroup, FormBuilder, FormControl, Validators } from
|
||||
import { WidgetComponent } from './../widget.component';
|
||||
import * as moment from 'moment';
|
||||
|
||||
declare let mdDateTimePicker: any;
|
||||
|
||||
function dateCheck(c: AbstractControl) {
|
||||
let startDate = moment(c.get('startDate').value);
|
||||
let endDate = moment(c.get('endDate').value);
|
||||
|
@@ -17,8 +17,6 @@
|
||||
|
||||
import { Input, AfterViewInit, Output, EventEmitter, SimpleChanges, OnChanges } from '@angular/core';
|
||||
|
||||
declare var componentHandler;
|
||||
|
||||
/**
|
||||
* Base widget component.
|
||||
*/
|
||||
|
Reference in New Issue
Block a user