You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -86,6 +86,10 @@ import {Attribute} from '/snippets/Attribute.mdx';
86
86
<HorizontalDividerlight={true} />
87
87
<Attributetype={ <codeclassName="text-sm bg-gray-100 px-2 py-0.5 rounded">bool</code> }description="Indicates if the symbol is exported from its defining file." />
<Attributetype={ <codeclassName="text-sm bg-gray-100 px-2 py-0.5 rounded">bool</code> }description="Returns True if this import is importing a namespace." />
<Attributetype={ <codeclassName="text-sm bg-gray-100 px-2 py-0.5 rounded">bool</code> }description="Determines if the symbol is re-exported from a different file." />
@@ -102,6 +106,10 @@ import {Attribute} from '/snippets/Attribute.mdx';
102
106
<HorizontalDividerlight={true} />
103
107
<Attributetype={ <codeclassName="text-sm bg-gray-100 px-2 py-0.5 rounded">str | None</code> }description="If import is a module import, returns any namespace prefix that must be used with import reference." />
<Returnreturn_type={ <codeclassName="text-sm bg-gray-100 px-2 py-0.5 rounded">bool</code> }description="True if the import is a type import, False otherwise."/>
@@ -626,7 +634,7 @@ Search and replace occurrences of text within this node's source and its extende
@@ -46,6 +46,10 @@ import {Attribute} from '/snippets/Attribute.mdx';
46
46
<HorizontalDividerlight={true} />
47
47
<Attributetype={ <codeclassName="text-sm bg-gray-100 px-2 py-0.5 rounded">str | None</code> }description="Retrieves the exported name of a symbol from its file." />
48
48
49
+
### <spanclassName="text-primary">exports</span>
50
+
<HorizontalDividerlight={true} />
51
+
<Attributetype={ <><span>list[</span> <ahref="/api-reference/typescript/TSExport"style={ {fontWeight: "inherit", fontSize: "inherit"} }>TSExport</a> <span>]</span></> }description="Returns all Export symbols in the namespace." />
52
+
49
53
### <spanclassName="text-primary">extended</span>
50
54
<HorizontalDividerlight={true} />
51
55
<Attributetype={ <><ahref="/api-reference/core/SymbolGroup"style={ {fontWeight: "inherit", fontSize: "inherit"} }>SymbolGroup</a></> }description="Returns a SymbolGroup of all extended nodes associated with this element." />
@@ -224,6 +228,31 @@ Insert a keyword in the appropriate place before this symbol if it doesn't alrea
<Returnreturn_type={ <><ahref="/api-reference/typescript/TSSymbol"style={ {fontWeight: "inherit", fontSize: "inherit"} }>TSSymbol</a> <span>| None</span></> }description="The existing symbol if it already exists in the file or None if it was added."/>
description="String representation of the symbol to be added. This should be valid source code for"
248
+
defaultValue=""
249
+
/>
250
+
</ParameterWrapper>
251
+
252
+
253
+
<Returnreturn_type={ <codeclassName="text-sm bg-gray-100 px-2 py-0.5 rounded">None</code> }description="The symbol is added directly to the namespace's content."/>
<Returnreturn_type={ <><ahref="/api-reference/typescript/TSFunction"style={ {fontWeight: "inherit", fontSize: "inherit"} }>TSFunction</a> <span>| None</span></> }description="The found function, or None if not found"/>
<Returnreturn_type={ <><ahref="/api-reference/typescript/TSNamespace"style={ {fontWeight: "inherit", fontSize: "inherit"} }>TSNamespace</a> <span>| None</span></> }description="The found namespace, or None if not found"/>
<Returnreturn_type={ <><ahref="/api-reference/typescript/TSSymbol"style={ {fontWeight: "inherit", fontSize: "inherit"} }>TSSymbol</a> <span>| None</span></> }description="The found symbol, or None if not found"/>
0 commit comments