diff --git a/src/SchemaRegistry.ts b/src/SchemaRegistry.ts index f3b4be5..cb8ce32 100644 --- a/src/SchemaRegistry.ts +++ b/src/SchemaRegistry.ts @@ -246,7 +246,7 @@ export default class SchemaRegistry { } const response = await this.getSchemaOriginRequest(registryId) - const foundSchema = response.data() as SchemaResponse + const foundSchema: SchemaResponse = response.data() const schemaType = schemaTypeFromString(foundSchema.schemaType)