mirror of
https://github.com/hcengineering/platform.git
synced 2026-09-08 02:37:44 +02:00
Fix formatting warnings in text-editor package (#4128)
Signed-off-by: Alexander Onnikov <alexander.onnikov@xored.com>
This commit is contained in:
@@ -21,7 +21,7 @@
|
||||
export let compareTo: string
|
||||
export let method: 'diffChars' | 'diffWords' | 'diffWordsWithSpace' = 'diffChars'
|
||||
|
||||
const handleDiff = (oldValue: string, newValue: string) => Diff[method](oldValue, newValue)
|
||||
const handleDiff = (oldValue: string, newValue: string): Diff.Change[] => Diff[method](oldValue, newValue)
|
||||
|
||||
$: changes = handleDiff(compareTo, value)
|
||||
</script>
|
||||
|
||||
Reference in New Issue
Block a user