Static properties
Private
Wrapper.allowedChars
Wrapper.allowedCharsThe private static property of the AllowedChars type denotes allowed characters of the wrap. The default allowed characters for the wrap are [ ] ( ) < > { }. The pattern can be set by the static setAllowedChars() method and get by the static getAllowedChars() method.
private static allowedChars = new AllowedChars(/([\[\]\(\)<>{}])/g);Wrapper.wrap
Wrapper.wrapThe private static property of the Wrap is the default instance of static Wrapper. It can be set by the static setWrap() method and get by the static getWrap() method. By default, it is set to [].
private static wrap: Wrap<string, string> = Wrapper.define('[', ']');Last updated
Was this helpful?