feat(language-service): support TS2.2 plugin model
This commit is contained in:

committed by
Matias Niemelä

parent
e5c6bb4286
commit
99aa49ab6c
@ -84,7 +84,7 @@ export class StaticReflector implements ReflectorReader {
|
||||
const classMetadata = this.getTypeMetadata(type);
|
||||
if (classMetadata['extends']) {
|
||||
const parentType = this.simplify(type, classMetadata['extends']);
|
||||
if (parentType instanceof StaticSymbol) {
|
||||
if (parentType && (parentType instanceof StaticSymbol)) {
|
||||
const parentAnnotations = this.annotations(parentType);
|
||||
annotations.push(...parentAnnotations);
|
||||
}
|
||||
|
Reference in New Issue
Block a user