mirror of
https://github.com/CommunitySolidServer/CommunitySolidServer.git
synced 2024-10-03 14:55:10 +00:00
12 lines
421 B
TypeScript
12 lines
421 B
TypeScript
/**
|
|
* Helper class for instantiating multiple objects with Components.js.
|
|
* See https://github.com/LinkedSoftwareDependencies/Components.js/issues/26
|
|
*/
|
|
// eslint-disable-next-line @typescript-eslint/no-extraneous-class
|
|
export class RecordObject implements Record<string, any> {
|
|
public constructor(record: Record<string, string> = {}) {
|
|
// eslint-disable-next-line no-constructor-return
|
|
return record;
|
|
}
|
|
}
|