Remove redundant type argument

This commit is contained in:
Zef Hemel
2026-03-06 13:59:37 +01:00
parent 3859af0260
commit 947edf52c8
2 changed files with 3 additions and 5 deletions
+2 -4
View File
@@ -509,9 +509,7 @@ export class Client {
resolve();
// In the background we'll fetch any enriched meta data, if any
const enrichedMeta = await this.objectIndex.getObjectByRef<
PageMeta
>(
const enrichedMeta = await this.objectIndex.getObjectByRef(
this.currentName(),
"page",
this.currentName(),
@@ -1122,7 +1120,7 @@ export class Client {
// decorations
if (await this.objectIndex.hasFullIndexCompleted()) {
try {
const enrichedMeta = await this.objectIndex.getObjectByRef<PageMeta>(
const enrichedMeta = await this.objectIndex.getObjectByRef(
pageName,
"page",
pageName,
+1 -1
View File
@@ -130,7 +130,7 @@ export class ObjectIndex {
};
}
getObjectByRef<_T>(page: string, tag: string, ref: string) {
getObjectByRef(page: string, tag: string, ref: string) {
return this.ds.get([indexKey, tag, this.cleanKey(ref, page), page]);
}