Type definitions for node-mssql.
Installation can be done using typings.
From the registry:
$ typings install node-mssql --save
From the source:
$ typings install github:typed-contrib/node-mssql --save
node-mssql
module works in node.js
environment and requires Promise
typings.
So you also have to install node.js
typings.
$ typings install dt~node --global --save
If you do not target ES2015
in your TypeScript configuration, install es2015-promise
typings.
$ typings install env~es2015-promise --global --save
Contributions are welcome !
# Installation
# Fork this repo (https://github.com/typed-contrib/node-mssql)
# Clone the fork (E.g. `https://github.com/<your_username>/node-mssql.git`)
cd node-mssql
# Install modules and dependencies
npm install
# Test typings over node-mssql samples and tests
npm test
Some resources to help writing Typescript type definitions:
This type definitions are tested using source node-mssql
samples.
MIT