@@ -628,7 +628,7 @@ declare module CKEDITOR {
628
628
data : Function ;
629
629
defaults : Object ;
630
630
dialog : String ;
631
- downcast : any ; // should be string | Function
631
+ downcast : string | Function ;
632
632
downcasts : Object ;
633
633
draggable : boolean ;
634
634
editables : Object ;
@@ -643,16 +643,16 @@ declare module CKEDITOR {
643
643
styleToAllowedContentRules : Function ;
644
644
styleableElements : string ;
645
645
template : string ;
646
- upcast : any ; // should be string | Function
646
+ upcast : string | Function ;
647
647
upcasts : Object ;
648
648
649
649
addClass ( className : string ) : void ;
650
650
applyStyle ( style : any ) : void ; // any should be CKEDITOR.style
651
651
capture ( ) : void ;
652
652
checkStyleActive ( style : any ) : boolean ; // any should be CKEDITOR.style
653
- define ( name : string , meta : { errorProof ?: boolean } ) : void ;
653
+ define ( name : string , meta : { errorProof ?: boolean } ) : void ;
654
654
destroy ( offline ?: boolean ) : void ;
655
- destroyEditable ( editableName :string , offline ?: boolean ) : void ;
655
+ destroyEditable ( editableName : string , offline ?: boolean ) : void ;
656
656
edit ( ) : boolean ;
657
657
fire ( eventName : string , data ?: Object , editor ?: editor ) : any ; // should be boolean | Object
658
658
fireOnce ( eventName : string , data ?: Object , editor ?: editor ) : any ; // should be boolean | Object
@@ -670,7 +670,7 @@ declare module CKEDITOR {
670
670
removeClass ( className : string ) : void ;
671
671
removeListener ( evnetName : string , listenerFunction : Function ) : void ;
672
672
removeStyle ( style : any ) : void ; // any should be CKEDITOR.style
673
- setData ( keyOrData : any , value ?: Object ) : IWidget ; // any should be string | Object
673
+ setData ( keyOrData : string | { } , value ?: Object ) : IWidget ;
674
674
setFocused ( selected : boolean ) : IWidget ;
675
675
setSelected ( selected : boolean ) : IWidget ;
676
676
toFeature ( ) : any ; // should be CKEDITOR.feature
@@ -685,7 +685,7 @@ declare module CKEDITOR {
685
685
data ?: Function ;
686
686
defaults ?: Object ;
687
687
dialog ?: String ;
688
- downcast ?: any ; // should be string | Function
688
+ downcast ?: string | Function ;
689
689
downcasts ?: Object ;
690
690
draggable ?: boolean ;
691
691
edit ?: Function ;
@@ -701,7 +701,7 @@ declare module CKEDITOR {
701
701
styleToAllowedContentRules ?: Function ;
702
702
styleableElements ?: string ;
703
703
template ?: string ;
704
- upcast ?: any ; // should be string | Function
704
+ upcast ?: string | Function ;
705
705
upcasts ?: Object ;
706
706
toFeature ?( ) : any ; // should be CKEDITOR.feature
707
707
}
@@ -732,8 +732,8 @@ declare module CKEDITOR {
732
732
733
733
interface IPluginDefinition {
734
734
hidpi ?: boolean ;
735
- lang ?: any ; // should be string | string[]
736
- requires ?: any ; // should be string | string[]a
735
+ lang ?: string | string [ ] ;
736
+ requires ?: string | string [ ] ;
737
737
afterInit ?( editor : editor ) : any ;
738
738
beforeInit ?( editor : editor ) : any ;
739
739
init ?( editor : editor ) : any ;
0 commit comments