11 lines
166 B
TypeScript
11 lines
166 B
TypeScript
let dirtyIndex = 0
|
|
|
|
export function getIncrementedDirtyIndex() {
|
|
dirtyIndex++
|
|
return dirtyIndex
|
|
}
|
|
|
|
export function getCurrentDirtyIndex() {
|
|
return dirtyIndex
|
|
}
|