Skip to content

Commit ff436ca

Browse files
committed
fix: add placeholders for implementations
1 parent 0f9070e commit ff436ca

File tree

4 files changed

+12
-0
lines changed

4 files changed

+12
-0
lines changed

packages/serialization/form/src/formSerializationWriter.ts

+3
Original file line numberDiff line numberDiff line change
@@ -131,6 +131,9 @@ export class FormSerializationWriter implements SerializationWriter {
131131
}
132132
}
133133
};
134+
// placeholder for the method
135+
// eslint-disable-next-line @typescript-eslint/no-empty-function
136+
public writeCollectionOfEnumValue = <T>(_key?: string, _values?: (T | null | undefined)[]): void => {};
134137
public getSerializedContent = (): ArrayBuffer => {
135138
return this.convertStringToArrayBuffer(this.writer.join(``));
136139
};

packages/serialization/json/src/jsonSerializationWriter.ts

+3
Original file line numberDiff line numberDiff line change
@@ -221,6 +221,9 @@ export class JsonSerializationWriter implements SerializationWriter {
221221
}
222222
}
223223
};
224+
// placeholder for the method
225+
// eslint-disable-next-line @typescript-eslint/no-empty-function
226+
public writeCollectionOfEnumValue = <T>(_key?: string, _values?: (T | null | undefined)[]): void => {};
224227
public getSerializedContent = (): ArrayBuffer => {
225228
return this.convertStringToArrayBuffer(this.writer.join(``));
226229
};

packages/serialization/multipart/src/multipartSerializationWriter.ts

+3
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,9 @@ export class MultipartSerializationWriter implements SerializationWriter {
113113
): void => {
114114
throw new Error(`serialization of enum values is not supported with multipart`);
115115
};
116+
// placeholder for the method
117+
// eslint-disable-next-line @typescript-eslint/no-empty-function
118+
public writeCollectionOfEnumValue = <T>(_key?: string, _values?: (T | null | undefined)[]): void => {};
116119
public getSerializedContent = (): ArrayBuffer => {
117120
return this.writer;
118121
};

packages/serialization/text/src/textSerializationWriter.ts

+3
Original file line numberDiff line numberDiff line change
@@ -133,6 +133,9 @@ export class TextSerializationWriter implements SerializationWriter {
133133
}
134134
}
135135
};
136+
// placeholder for the method
137+
// eslint-disable-next-line @typescript-eslint/no-empty-function
138+
public writeCollectionOfEnumValue = <T>(_key?: string, _values?: (T | null | undefined)[]): void => {};
136139
public getSerializedContent = (): ArrayBuffer => {
137140
return this.convertStringToArrayBuffer(this.writer.join(``));
138141
};

0 commit comments

Comments
 (0)