feat(api): expose function to check if symbol represents a supertype
This commit is contained in:
parent
939e61c58d
commit
0683136ca0
4 changed files with 79 additions and 2 deletions
|
|
@ -138,6 +138,8 @@ TSSymbolType ts_language_symbol_type(
|
|||
return TSSymbolTypeRegular;
|
||||
} else if (metadata.visible) {
|
||||
return TSSymbolTypeAnonymous;
|
||||
} else if (metadata.supertype) {
|
||||
return TSSymbolTypeSupertype;
|
||||
} else {
|
||||
return TSSymbolTypeAuxiliary;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue