-
Notifications
You must be signed in to change notification settings - Fork 115
Open
Description
Hi,
When importing all currency symbols:
import currencyToSymbolMap from 'currency-symbol-map/map'I have a type error, module file declaration 'currency-symbol-map/map' not found.
I added this declaration in my project:
type CurrencySymbolMapMap = {
[index: string]: string;
};
declare module 'currency-symbol-map/map' {
import data from 'currency-symbol-map/map';
export default data as CurrencySymbolMapMap;
}It seems to work, but is it possible to include an "official" declaration directly in the module?
Thank you for your fantastic module :)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels