Перейти к основному содержанию

EXPORT

Callable

  • EXPORT(name: string, lib: any): void

  • Exports object from library using specified name.


    Parameters

    • name: string

      object name to be used when calling IMPORT. If the name contains a column (":"), the number after column is used to specify version of the library this export corresponds to. To provide backward compatibility, library authors can use multiple exports for different library versions inside a single file. This mechanism currently works only for library dependencies

    • lib: any

      object to be exported with specified name, can be of any valid js/java type

    Returns void