Skip to content

Commit

Permalink
fix: README example errors and comment grammar
Browse files Browse the repository at this point in the history
  • Loading branch information
jacob-shuman committed Sep 24, 2024
1 parent 05e8535 commit be3c3fc
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ interface ItunesResults {
collectionId?: number;
trackId?: number;
artistName?: string;
collectionName: string;
collectionName?: string;
trackName?: string;
collectionCensoredName?: string;
trackCensoredName?: string;
Expand Down Expand Up @@ -122,7 +122,7 @@ const results = await searchItunes({
term: "Queen Bohemian Rhapsody",

// Setting max number of results to 2
limit: 2,
limit: "2",
});

console.log(results);
Expand Down
2 changes: 1 addition & 1 deletion src/lookup.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import type { ItunesEntities, ItunesResults } from "./mod";

/**
* Known lookup params
* Known lookup parameters
*/
export type ItunesLookupOptions = {
/**
Expand Down
2 changes: 1 addition & 1 deletion src/search.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import type {
} from "./mod";

/**
* Known search params
* Known search parameters
*/
export type ItunesSearchOptions = {
/**
Expand Down

0 comments on commit be3c3fc

Please sign in to comment.