diff --git a/components/graphql/type.vue b/components/graphql/type.vue
index 8e5ce989b..6a40387fb 100644
--- a/components/graphql/type.vue
+++ b/components/graphql/type.vue
@@ -33,7 +33,7 @@
@@ -71,8 +71,7 @@ export default {
return this.gqlType instanceof GraphQLEnumType
},
interfaces() {
- let type = this.gqlType
- return (type.getInterfaces && type.getInterfaces()) || []
+ return (this.gqlType.getInterfaces && this.gqlType.getInterfaces()) || []
},
children() {
return this.gqlTypes.filter(