Skip to content

Commit 0682459

Browse files
committed
Ignore deprecation lint
1 parent afd77e6 commit 0682459

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

src/lib/models/reflections/declaration.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -358,8 +358,10 @@ export class DeclarationReflection extends ContainerReflection {
358358
);
359359

360360
// TypeDoc 0.25, remove check with 0.28.
361+
// eslint-disable-next-line @typescript-eslint/no-deprecated
361362
if (obj.indexSignature) {
362363
this.indexSignatures = [
364+
// eslint-disable-next-line @typescript-eslint/no-deprecated
363365
de.revive(obj.indexSignature, (r) => de.constructReflection(r)),
364366
];
365367
} else {

src/lib/models/reflections/signature.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,9 @@ export class SignatureReflection extends Reflection {
137137
obj.sources,
138138
(t) => new SourceReference(t.fileName, t.line, t.character),
139139
);
140+
// eslint-disable-next-line @typescript-eslint/no-deprecated
140141
if (obj.typeParameter) {
142+
// eslint-disable-next-line @typescript-eslint/no-deprecated
141143
this.typeParameters = de.reviveMany(obj.typeParameter, (t) =>
142144
de.constructReflection(t),
143145
);

0 commit comments

Comments
 (0)