Skip to content

Commit

Permalink
minor changes: File name changes and typescript returns
Browse files Browse the repository at this point in the history
  • Loading branch information
barbarah committed Dec 13, 2024
1 parent 565cc45 commit a799c8b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import {ResearchGuide} from '@colonial-collections/api';
import {sortResearchGuide} from './sortGuides';
import {sortResearchGuide} from './sort-guides';

describe('sortResearchGuide', () => {
it('sorts guides by their names', () => {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import {ResearchGuide} from '@colonial-collections/api';

export function sortResearchGuide(topLevel: ResearchGuide): ResearchGuide {
export function sortResearchGuide(topLevel: ResearchGuide) {
const sortGuides = (guide: ResearchGuide): ResearchGuide => {
const sortedParts =
guide.hasParts?.sort((a, b) =>
Expand Down

0 comments on commit a799c8b

Please sign in to comment.