-
Notifications
You must be signed in to change notification settings - Fork 3
Setup typed contract
Randar Puust edited this page Mar 17, 2017
·
5 revisions
You have a few options for installing typed-contract.
If your project is fairly simple or you don't want to use a package manager
- Download either typedcontract.js (typedcontract.js) or typedcontract.min.js (typedcontract.min.js) from Git to a local directory.
- If you are going to be accessing it from TypeScript, you should also download typed.contract.d.ts (typedcontract.d.ts) and typedcontract.js.map (typedcontract.js.map).
- Create a script tag that references the .js file.
If you would prefer to use a package manager, you will need NPM to install typedcontract.
- Install it into your project: npm install typedcontract –save