Skip to content

Commit

Permalink
fix ts error
Browse files Browse the repository at this point in the history
  • Loading branch information
mishankov committed Mar 12, 2024
1 parent c53e479 commit 88094bf
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/manipulations/components/Trim.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
export interface TrimManipulation extends ManipulationBase {
type: 'trim';
trimType: 'leading' | 'trailing' | 'all';
trimType: string;
}
const options = [
Expand Down
3 changes: 3 additions & 0 deletions src/lib/manipulations/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,9 @@ function doManipulationInner(input: string, manipulation: TManipulation): string
case 'all': {
return input.trim();
}
default: {
return input;
}
}
}
}
Expand Down

0 comments on commit 88094bf

Please sign in to comment.