refactor(MapWrapper): drop delete(), get(), forEach() and size
Closes #4618
This commit is contained in:
@ -87,7 +87,7 @@ export class RawEntity {
|
||||
|
||||
remove(key: string) {
|
||||
if (!StringWrapper.contains(key, '.')) {
|
||||
return MapWrapper.delete(this._data, key);
|
||||
return this._data.delete(key);
|
||||
}
|
||||
var pieces = key.split('.');
|
||||
var last = ListWrapper.last(pieces);
|
||||
|
Reference in New Issue
Block a user