Skip to main content
Version: 1.9.2

public

The decorator @public labels a declaration as available to be called by other pieces of code, similar to the export keyword. This decorator is needed only when you want to make a namespace available to code in other files, as described in Importing namespaces.