Skip to content

Commit 28487fb

Browse files
authored
Merge pull request #27 from aminya/patch-1
Fix readme
2 parents 532456c + c45545f commit 28487fb

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ In this example, we will implement a `console.log` that we can call from Assembl
120120

121121
Inside of `myWasmFileName.ts`:
122122

123-
```
123+
```typescript
124124
declare function consoleLog(message: string): void;
125125

126126
export function myExportedFunctionThatWillCallConsoleLog(): void {
@@ -130,7 +130,7 @@ export function myExportedFunctionThatWillCallConsoleLog(): void {
130130

131131
**JavaScript**
132132

133-
```
133+
```javascript
134134
import { AsBind } from "as-bind";
135135

136136
const wasm = fetch("./path-to-my-wasm.wasm");
@@ -211,7 +211,7 @@ This function is the equivalent to the [AssemblyScript Loader instantiate](https
211211
##### instantiateSync
212212

213213
```typescript
214-
AsBind.instantiate: (
214+
AsBind.instantiateSync: (
215215
moduleOrBuffer: (
216216
WebAssembly.Module |
217217
BufferSource

0 commit comments

Comments
 (0)