(updates: PackageJsonCellUpdateAttrsType)
| 94 | }, [channel, npmInstall]); |
| 95 | |
| 96 | function updateCellOnServer(updates: PackageJsonCellUpdateAttrsType) { |
| 97 | channel.push('cell:update', { |
| 98 | cellId: cell.id, |
| 99 | updates, |
| 100 | }); |
| 101 | } |
| 102 | |
| 103 | function onChangeSource(source: string) { |
| 104 | const updates = { ...cell, source }; |