feat: better definitions

This commit is contained in:
cudr
2019-10-06 23:56:27 +03:00
parent fbcbef02af
commit 86e9e77410
10 changed files with 49 additions and 31 deletions

View File

@@ -1,12 +1,14 @@
export const addAnnotation = (doc: any, op: any) => {
import { Operation, SyncDoc } from '../model'
export const addAnnotation = (doc: SyncDoc, op: Operation): SyncDoc => {
return doc
}
export const removeAnnotation = (doc: any, op: any) => {
export const removeAnnotation = (doc: SyncDoc, op: Operation): SyncDoc => {
return doc
}
export const setAnnotation = (doc: any, op: any) => {
export const setAnnotation = (doc: SyncDoc, op: Operation): SyncDoc => {
return doc
}