Ability to delete from store
This commit is contained in:
parent
3267d5bc39
commit
15f6124173
2 changed files with 27 additions and 0 deletions
|
|
@ -160,6 +160,9 @@ export const _rt = {
|
|||
|
||||
return { _tag: 'Rebind', _0: name, _1: rest, _2: value };
|
||||
},
|
||||
deleteAt: (path: any[]) => {
|
||||
return { _tag: 'DeleteAt', _0: path };
|
||||
},
|
||||
"undefine!": (name: string) => {
|
||||
delete store[name];
|
||||
definitions.delete(name);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue