-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Private / non-exported bindings #4534
Copy link
Copy link
Open
Labels
feature requestNew feature or requestNew feature or requestscriptingAbout Typst's coding capabilitiesAbout Typst's coding capabilitiessyntaxAbout syntax, parsing, etc.About syntax, parsing, etc.
Metadata
Metadata
Assignees
Labels
feature requestNew feature or requestNew feature or requestscriptingAbout Typst's coding capabilitiesAbout Typst's coding capabilitiessyntaxAbout syntax, parsing, etc.About syntax, parsing, etc.
Type
Fields
Give feedbackNo fields configured for issues without a type.
Description
As far as I understand, each defined and imported function, varible and module inside a typ-file can be imported from another typ-file. I would wish for some way to tag the one that should not be imported from elsewhere (like helper functions, internal constants, modules only used internally) as private. Are there any plans for that?
Use Case
You write a library or template and don't want the user to see all internally used stuff in code completion...