Skip to content

Commit 1e2c754

Browse files
committed
lint fixes
1 parent 44db7b9 commit 1e2c754

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/Confetti.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ export class Confetti {
174174

175175
rafId?: number
176176

177-
lastFrameTime: number = 0
177+
lastFrameTime = 0
178178

179179
get options(): Partial<IConfettiOptions> {
180180
return this._options
@@ -216,7 +216,7 @@ export class Confetti {
216216
Object.assign(this, opts.confettiSource)
217217
}
218218

219-
update = (timestamp: number = 0) => {
219+
update = (timestamp = 0) => {
220220
const {
221221
options: { run, onConfettiComplete, frameRate },
222222
canvas,

src/ParticleGenerator.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ export default class ParticleGenerator implements IParticleGenerator {
3838

3939
lastNumberOfPieces = 0
4040

41-
tweenInitTime: number = 0
41+
tweenInitTime = 0
4242

4343
particles: Particle[] = []
4444

0 commit comments

Comments
 (0)