vue3-yuanma/packages/observer/src/operations.ts

12 lines
257 B
TypeScript
Raw Normal View History

2018-09-19 23:35:38 +08:00
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'
}