Skip to content

Commit

Permalink
Fix svelte-check
Browse files Browse the repository at this point in the history
  • Loading branch information
myieye committed Nov 5, 2024
1 parent 2d710b7 commit 33ea6b4
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,12 @@
* Indicates whether the order of the (selection of) values should be preserved, because the order is meaningful.
*/
preserveOrder?: boolean;
// optional based on configuration
valuesAreIds?: true;
getValueId?: (value: TValue) => string;
getValueById?: (id: string) => TValue | undefined;
getOptionId?: (option: TOption) => string;
}
& // mappings we support out of the box
(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,12 @@
value: TValue;
options: TOption[];
getOptionLabel(option: TOption): string;
// optional based on configuration
valueIsId?: true;
getValueId?: (value: TValue) => Id;
getValueById?: (id: Id) => TValue;
getOptionId?: (option: TOption) => string;
}
& // mappings we support out of the box
(
Expand Down
1 change: 1 addition & 0 deletions frontend/viewer/src/lib/sandbox/Sandbox.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
initWritingSystems(readable({
analysis: [{
id: 'test',
wsId: 'test',
name: 'test',
abbreviation: 'test',
font: 'test',
Expand Down

0 comments on commit 33ea6b4

Please sign in to comment.