Use default export

This commit is contained in:
Eduard Urbach 2018-06-03 11:11:19 +09:00
parent c080b337c7
commit 33e4c44a5e
2 changed files with 2 additions and 2 deletions

View File

@ -1,4 +1,4 @@
import { MutationQueue } from "./MutationQueue"
import MutationQueue from "./MutationQueue"
export default class Diff {
static persistentClasses = new Set<string>()

View File

@ -8,7 +8,7 @@ const timeCapacity = 6.5
// MutationQueue queues up DOM mutations to batch execute them before a frame is rendered.
// It checks the time used to process these mutations and if the time is over the
// defined time capacity, it will pause and continue the mutations in the next frame.
export class MutationQueue {
export default class MutationQueue {
mutations: Array<() => void>
onClearCallBacks: Array<() => void>