Skip to content

Commit

Permalink
Fix build errors
Browse files Browse the repository at this point in the history
  • Loading branch information
bananu7 committed Apr 2, 2024
1 parent 38682e9 commit 44469f1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/components/Player.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ export function Player(props: PlayerProps) {
const masterChannelController = props.audioSystem.getMasterChannelController();
const fxChannelController = props.audioSystem.getFxChannelController();

const setProjectTime = (t) => props.audioSystem.update({ position: t});
const setProjectTime = (t: ProjectTimeSeconds) => props.audioSystem.update({ position: t});

return (
<div className="player">
Expand Down
2 changes: 1 addition & 1 deletion src/zoom/formatProjectTime.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { ProjectTimeSeconds } from './zoom_l12'

function padWithZero(n) {
function padWithZero(n: number): string {
if (n < 10) {
return `0${n}`;
} else {
Expand Down

0 comments on commit 44469f1

Please sign in to comment.