1.1.4 • Published 8 years ago
@cw-types/colors v1.1.4
Installation
First, run
npm install --save @cw-types/colorsThen, you must add
node_modules/@cw-typesto yourtsconifg.jsonfile, like so:"typeRoots": [ "node_modules/@cw-types", "node_modules/@types" ]This will enable the Typescript compiler to find and use this typing since it is not installed under
node_modules/@types.Please note the order is important of the entries in
typeRoots. If you wantnode_modules/@typesto resolve first then move it up top.
Summary
Typings library for Azure Function Applications
Here are some examples:
import '@cw-types/colors';
export async function run(context: Context<IData>, data: IData): Promise<void> {
context.log(`starting function '${context.req.method.red}'=>'${context.req.method.blue}'...`)
}Maintainers
This project is mainted by Kavan J. Shaban at Cycloware