Skip to content

Commit

Permalink
chore: add js extension
Browse files Browse the repository at this point in the history
  • Loading branch information
metehus committed Feb 25, 2023
1 parent 3aa634d commit b799c61
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 5 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@musicorum/lastfm",
"version": "0.2.0",
"version": "0.2.1",
"description": "",
"main": "dist/LastClient.js",
"types": "dist/LastClient.d.ts",
Expand Down
9 changes: 6 additions & 3 deletions src/packages/User.ts
Original file line number Diff line number Diff line change
@@ -1,13 +1,16 @@
import type { LastClient } from '../LastClient'
import type { LastClient } from '../LastClient.js'
import PaginatedResult from '../PaginatedResource.js'
import {
LastfmRecentTracksResponse,
LastfmRecentTracksTrackResource,
LastfmUserRecentTracksParams,
LastfmUserTopAlbum,
LastfmUserTopAlbumsParams
} from '../types/packages/user'
import type { GetFormattedResponse, LastfmResponses } from '../types/responses'
} from '../types/packages/user.js'
import type {
GetFormattedResponse,
LastfmResponses
} from '../types/responses.js'
import { parseLastfmImages, parseLastfmPagination } from '../utils.js'

export class User {
Expand Down
2 changes: 1 addition & 1 deletion src/types/packages/user.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import type {
PaginatedResponseAttributes,
Period,
StringRecord
} from './common'
} from './common.js'

// user.getInfo
export interface LastfmOriginalUserInfoResponse {
Expand Down

0 comments on commit b799c61

Please sign in to comment.