Skip to content

Commit

Permalink
fix types
Browse files Browse the repository at this point in the history
  • Loading branch information
Sebastian committed Mar 26, 2024
1 parent ce9e639 commit e02df06
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
3 changes: 3 additions & 0 deletions src/routes/Brush.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,9 @@
*/
let gBrush;
/**
* @type {{values: boolean[], label: string}[]}
*/
export let data = [
{
label: 'D',
Expand Down
4 changes: 2 additions & 2 deletions src/routes/Devilstable.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
let selection = { start: 1, end: 100 };
/**
* @type {{values: [number,number][], label: string}[]}
* @type {{values: number[][], label: string}[]}
*/
export let data = [
{
Expand All @@ -39,7 +39,7 @@
const [fractions, noFractions] = data.reduce(
/**
*
* @param {[{values: [number,number][], label: string}[],{values: [number,number][], label: string}[]]} acc
* @param {[{values: number[][], label: string}[],{values: number[][], label: string}[]]} acc
* @param item
*/
(acc, item) => {
Expand Down

0 comments on commit e02df06

Please sign in to comment.