Skip to content

JSClassBuilder<T>.DefineEnum method

Creates a JS Object for a TypeScript-style enumeration. The object has readonly integer properties along with a reverse number-to-string mapping.

C#
public JSValue DefineEnum()

See Also

Released under the MIT license