0.1.3 • Published 9 years ago

marklogic-node-typescript-definitions v0.1.3

Weekly downloads
5
License
MIT
Repository
github
Last release
9 years ago

Marklogic TypeScript Definitions

Overview

TypeScript definitions for Marklogic's Node.js APIs.

For the server-side-javascript definitions try the marklogic-typescript-definitions package

Usage

Install:

npm install marklogic-node-typescript-definitions

To use the definitions, modify your tsconfig.json file, adding the following entry to the files section:

node_modules/marklogic-node-typescript-definitions/ts/index.d.ts

So, for example, your tsconfig.json file might look like:

{
    "compilerOptions": {
        "module": "commonjs",
        "target": "es5",
    },
    "files": [
        "./lib/myCode.ts",
        "./node_modules/marklogic-node-typescript-definitions/ts/index.d.ts"
    ]
}

Suggested TypeScript Editors

Below are two suggested TypeScript editors: