Branch: master
Find file History
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
..
Failed to load latest commit information.
TSProjDemo.Bridge
TSProjDemo
README.md
TSProjDemo.sln

README.md

TypeScript Project Demo

This demo consists of 2 projects - one is a regular Node.js TypeScript project, and the other is Bridge project containing logic implemented in C# for evaluation of simple math expressions.

Bridge generates TypeScript declarations and JavaScript files and outputs them into the dist/bridge folder of the main TypeScript project.

Build instructions

With Bridge CLI

Bridge CLI will automatically build the Bridge project.

  1. Make sure Bridge CLI is installed.
  2. Fork the repository.
  3. Navigate to the TypeScript project folder: ~/Demos/TSProjDemo/TSProjDemo/
  4. Run yarn install to install dependencies.
  5. Run yarn start-cli to run the demo.

No Bridge CLI

If no Bridge CLI installed, the Bridge project should be built manually.

  1. Fork the repository.
  2. Open ~/Demos/TSProjDemo/TSProjDemo.sln and build the solution.
  3. Navigate to the TypeScript project folder: ~/Demos/TSProjDemo/TSProjDemo/
  4. Run yarn install to install dependencies.
  5. Run yarn start to run the demo.

Points of interest