|
@@ -10,6 +10,7 @@ import { NodeType } from "../../enums/NodeType";
|
|
|
import { Node } from '../Node';
|
|
|
import { NodeUtils } from "../../NodeUtils";
|
|
|
import { Utils } from '../../Utils';
|
|
|
+import {IVariableDeclarationNode} from "../../interfaces/nodes/IVariableDeclarationNode";
|
|
|
|
|
|
export class UnicodeArrayNode extends Node {
|
|
|
/**
|
|
@@ -79,7 +80,7 @@ export class UnicodeArrayNode extends Node {
|
|
|
return;
|
|
|
}
|
|
|
|
|
|
- Utils.arrayRotate(this.unicodeArray, this.unicodeArrayRotateValue);
|
|
|
+ Utils.arrayRotate <string> (this.unicodeArray, this.unicodeArrayRotateValue);
|
|
|
|
|
|
this.updateNode();
|
|
|
|
|
@@ -87,9 +88,9 @@ export class UnicodeArrayNode extends Node {
|
|
|
}
|
|
|
|
|
|
/**
|
|
|
- * @returns any
|
|
|
+ * @returns {INode}
|
|
|
*/
|
|
|
- protected getNodeStructure (): any {
|
|
|
+ protected getNodeStructure (): IVariableDeclarationNode {
|
|
|
return {
|
|
|
'type': NodeType.VariableDeclaration,
|
|
|
'declarations': [
|