Skip to content

Commit

Permalink
fix: fixed type error
Browse files Browse the repository at this point in the history
  • Loading branch information
khawarizmus committed Oct 1, 2023
1 parent 6e73fb4 commit 7cc7aed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/MethodRecommender.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { CountryMethods } from './data/methods'
import type { LngLatLike } from './types/LangLatLike'
import type { Methods } from './types/Methods'

const methodsMap = new WeakMap<WeakKey, Methods[]>(
const methodsMap = new WeakMap<symbol, Methods[]>(
Object.entries(CountryMethods).map(([country, methods]) => [Symbol(country), methods])
)

Expand Down

0 comments on commit 7cc7aed

Please sign in to comment.