fix(di): allow injecting static attrs without type annotations
Closes #1226
This commit is contained in:
Vendored
-2
@@ -140,8 +140,6 @@ function _extractToken(typeOrFunc, annotations) {
|
||||
}
|
||||
ListWrapper.push(depProps, paramAnnotation);
|
||||
|
||||
} else if (paramAnnotation.name === "string") {
|
||||
token = paramAnnotation;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user