Closed rickyfabians closed 6 years ago
i want to add code like :
return [new mxConnectionConstraint(new mxPoint(0, 0), true,'uhu');
in my component, so i added new function / class in View.d.ts :
declare class mxConnectionConstraint {
constructor(point: any, perimeter: any,name?:any); point: any; perimeter: any; name:any;
} but i got error TS2304: Cannot find name 'mxConnectionConstraint' how can i fix this? thanks
i want to add code like :
return [new mxConnectionConstraint(new mxPoint(0, 0), true,'uhu');
in my component, so i added new function / class in View.d.ts :
declare class mxConnectionConstraint {
constructor(point: any, perimeter: any,name?:any); point: any; perimeter: any; name:any;
} but i got error TS2304: Cannot find name 'mxConnectionConstraint' how can i fix this? thanks