How to use the typescript-json-schema.TJS function in typescript-json-schema

To help you get started, we’ve selected a few typescript-json-schema examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github eclipse / eclipse.jdt.ls / lang-protocol-generator / Gruntfile.js View on Github external
var TJS = require('typescript-json-schema').TJS;

/*global module:false*/
module.exports = function (grunt) {

  // Project configuration.
  grunt.initConfig({
    // Task configuration.
    shell: {
       gitclone:{
            command: [
               'mkdir ./nodeClient',
               'cd ./nodeClient',
               'git clone git@github.com:Microsoft/vscode-languageserver-node.git',
               'cd vscode-languageserver-node/client',
               'npm install .'
            ].join('&&')