vue3-yuanma/packages/observer/src/operations.ts
2018-09-19 11:35:38 -04:00

12 lines
257 B
TypeScript

export const enum OperationTypes {
// using literal strings instead of numbers so that it's easier to inspect
// debugger events
SET = 'set',
ADD = 'add',
DELETE = 'delete',
CLEAR = 'clear',
GET = 'get',
HAS = 'has',
ITERATE = 'iterate'
}