Usually you want the package to be a non-native Typescript module:
import * as numeral from 'numeral';
The type folder is intended only to tell Typescript what type definitions are, so it will use it to highlight code and cast. The actual module you want to import is located in the node_modules folder and can be imported with its name.
If he still complains that he will not find the numeral module, you can add
or where the Typescript definition file is stored.
source share