TypeScript Publish TypeScript definition files Include definition file with library on npm


Example

Add typings to your package.json

{
...
"typings": "path/file.d.ts"
...
}

Now when ever that library is imported typescript will load the typings file