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

16 lines
289 B
TypeScript
Raw Normal View History

// using literal strings instead of numbers so that it's easier to inspect
// debugger events
export const enum TrackOpTypes {
2018-09-19 15:35:38 +00:00
GET = 'get',
HAS = 'has',
ITERATE = 'iterate'
}
export const enum TriggerOpTypes {
SET = 'set',
ADD = 'add',
DELETE = 'delete',
CLEAR = 'clear'
}