Fix TypeScript link (#1594)

Summary:
Link was wrong, fixed it.

* [Old link](https://github.com/facebook/yoga/blob/main/javascript/src/wrapAssembly.d.ts)
* [New link](https://github.com/facebook/yoga/blob/main/javascript/src/wrapAssembly.ts)

Pull Request resolved: https://github.com/facebook/yoga/pull/1594

Reviewed By: joevilches

Differential Revision: D54763374

Pulled By: arushikesarwani94

fbshipit-source-id: c82589617efb07809fb0b5bd3f6d745936dcc545
This commit is contained in:
Jamon Holmgren
2024-03-11 13:37:55 -07:00
committed by Facebook GitHub Bot
parent 0d23e07202
commit d591885e29

View File

@@ -27,7 +27,7 @@ $> yarn add yoga-layout
```
This is an example on how to use Yoga in JavaScript. For a full API reference,
have a look at the [TypeScript type definitions](https://github.com/facebook/yoga/blob/main/javascript/src/wrapAssembly.d.ts).
have a look at the [TypeScript type definitions](https://github.com/facebook/yoga/blob/main/javascript/src/wrapAssembly.ts).
```js
import {loadYoga} from 'yoga-layout';