Skip to content

Commit

Permalink
fix: strong type.
Browse files Browse the repository at this point in the history
  • Loading branch information
ItzNotABug committed Oct 8, 2024
1 parent 7f1e191 commit 483840e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/layouts/DocsTutorial.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
$: prevStep = tutorials.find((tutorial) => tutorial.step === currentStep - 1);
// `any` for compatibility with reactive variables.
function getCorrectTitle(tutorial: any | Tutorial, checkAt: number): string {
function getCorrectTitle(tutorial: Tutorial, checkAt: number): string {
if (tutorial.step === checkAt) {
return 'Introduction';
} else {
Expand Down

0 comments on commit 483840e

Please sign in to comment.