mirror of
https://github.com/rzmk/czv.git
synced 2025-12-19 08:09:24 +00:00
docs: clarify WASM docs example written in TS
This commit is contained in:
parent
2a38998425
commit
0648673c46
1 changed files with 2 additions and 0 deletions
|
|
@ -17,6 +17,8 @@ bun install czv
|
||||||
|
|
||||||
Or use `npm`, `pnpm`, or `yarn` instead of `bun`.
|
Or use `npm`, `pnpm`, or `yarn` instead of `bun`.
|
||||||
|
|
||||||
|
The following example is written in TypeScript:
|
||||||
|
|
||||||
```ts
|
```ts
|
||||||
import init, * as czv from "czv";
|
import init, * as czv from "czv";
|
||||||
// Must run `await init()` or `initSync()` first for web use
|
// Must run `await init()` or `initSync()` first for web use
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue