added flow support for Struct.js
This commit is contained in:
@@ -17,7 +17,12 @@ type Operation = Struct
|
||||
type Insertion = {
|
||||
id: Id,
|
||||
left: Id,
|
||||
origin: Id,
|
||||
right: Id,
|
||||
parent: Id,
|
||||
parentSub: ?Id,
|
||||
opContent: ?Id,
|
||||
content: ?any,
|
||||
struct: 'Insert'
|
||||
}
|
||||
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
/* @flow */
|
||||
|
||||
type YGlobal = {
|
||||
utils: Object;
|
||||
Struct: Object;
|
||||
AbstractDatabase: any;
|
||||
AbstractConnector: any;
|
||||
utils: Object,
|
||||
Struct: any,
|
||||
AbstractDatabase: any,
|
||||
AbstractConnector: any
|
||||
}
|
||||
|
||||
type YConfig = {
|
||||
|
||||
Reference in New Issue
Block a user