[ios, macos] Fixed syntax error in documentation comment (#6822)
Fixes #6821.
This commit is contained in:
@@ -152,6 +152,9 @@ global.describeValue = function (value, property, layerType) {
|
||||
case 'number':
|
||||
return 'an `NSNumber` object containing the float `' + value + '`';
|
||||
case 'string':
|
||||
if (value === '') {
|
||||
return 'the empty string';
|
||||
}
|
||||
return 'the string `' + value + '`';
|
||||
case 'enum':
|
||||
let displayValue;
|
||||
|
||||
@@ -388,7 +388,7 @@ typedef NS_ENUM(NSUInteger, MGLTextTranslateAnchor) {
|
||||
/**
|
||||
Value to use for a text label. Feature properties are specified using tokens like {field_name}.
|
||||
|
||||
The default value of this property is an `MGLStyleValue` object containing the string ``. Set this property to `nil` to reset it to the default value.
|
||||
The default value of this property is an `MGLStyleValue` object containing the empty string. Set this property to `nil` to reset it to the default value.
|
||||
*/
|
||||
@property (nonatomic, null_resettable) MGLStyleValue<NSString *> *textField;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user