use of com.google.javascript.jscomp.newtypes.Typedef in project closure-compiler by google.
the class NTIScope method getNamespaceOrTypedefType.
@Override
public JSType getNamespaceOrTypedefType(String typeName) {
Namespace ns = getNamespaceAfterFreezing(typeName);
if (ns != null) {
return ns.toJSType();
}
Typedef td = getTypedef(typeName);
return td == null ? null : td.getType();
}
Aggregations