Set Trailing Cmma to (#525)

This commit is contained in:
Lipis 2020-01-24 12:04:54 +02:00 committed by GitHub
parent 25202aec11
commit ee68af0fd3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
53 changed files with 352 additions and 350 deletions

View file

@ -8,14 +8,14 @@ class SceneHistory {
generateCurrentEntry(
appState: Partial<AppState>,
elements: readonly ExcalidrawElement[]
elements: readonly ExcalidrawElement[],
) {
return JSON.stringify({
appState,
elements: elements.map(({ shape, ...element }) => ({
...element,
isSelected: false
}))
isSelected: false,
})),
});
}