Skip to content

Commit

Permalink
Merge pull request finos#194 from finos/fix-broken-markdown-headers
Browse files Browse the repository at this point in the history
Fix broken markdown headers
  • Loading branch information
stephengoldbaum authored Sep 22, 2023
2 parents c7e2b1a + 89b8827 commit ae89943
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/morphir-typescript-api.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,15 @@ id: morphir-typescript
title: TypeScript - Morphir API
---

#Morphir API for Typescript
# Morphir API for Typescript
The purpose of this documentation is to give a user an understanding of how to use the Morphir API created for Typescript.

This API basically enables adding morphir as a dependency in a Typescript project. This allows a user have access to morphir
types and modules to build tools and/or to aid work on the morphir generated IR. A use-case of the API is the Cadl frontend,
where the API provides modules in Morphir, mapping them to those in Cadl, in order to generate a Morphir IR as the Cadl emitter runs through
a Cadl project.

###How the Morphir API for Typescript is used.
### How the Morphir API for Typescript is used.
To use the modules/Types from the morphir api, they'd need to be imported from `morphir-elm`, as shown below in an **example:**
```
import {toDistribution, Morphir} from "morphir-elm"
Expand Down

0 comments on commit ae89943

Please sign in to comment.