Enabling noImplicitAny
This commit is contained in:
@@ -26,7 +26,7 @@ export abstract class ClassArray<T extends Serializable<T>> extends Serializable
|
||||
}
|
||||
|
||||
_toJsObject(): any {
|
||||
let array = [];
|
||||
let array: any[] = [];
|
||||
for (let element of this.elements) {
|
||||
array.push(element.toJsObject());
|
||||
}
|
||||
|
||||
@@ -55,7 +55,7 @@ export abstract class Serializable<T> {
|
||||
abstract _toJsObject(): any;
|
||||
abstract _toBinary(buffer: UhkBuffer): void;
|
||||
|
||||
private dump(value) {
|
||||
private dump(value: any) {
|
||||
if (Serializable.enableDump) {
|
||||
process.stdout.write(value);
|
||||
}
|
||||
|
||||
@@ -171,7 +171,7 @@ export class UhkBuffer {
|
||||
this._enableDump = value;
|
||||
}
|
||||
|
||||
dump(value) {
|
||||
dump(value: any) {
|
||||
if (!this.enableDump) {
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user