Skip to content

[Good First Issue] Add proper TypeScript strict null checks in ffmpeg.ts #230

@magic-peach

Description

@magic-peach

Overview

Enable and fix TypeScript strict null checks in src/lib/ffmpeg.ts. The file uses non-null assertions (!) that could hide real null dereferences.

Task

  1. Check tsconfig.json has 'strict': true
  2. Find all ! non-null assertions in ffmpeg.ts
  3. Replace with proper null checks or early returns

Acceptance Criteria

  • No unsafe ! assertions in ffmpeg.ts
  • Proper null checks in place
  • TypeScript compiles without strict errors

Estimated effort: 30 minutes

Metadata

Metadata

Assignees

Labels

good first issueGood for newcomers and beginnersgssoc'26GirlScript Summer of Code 2026priority: mediumMedium priorityrefactorCode quality and refactoringsize: smallSmall issue - a few lines of codetypescriptTypeScript related improvements

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions