docs(web): fix deno import example
This commit is contained in:
parent
f9f7ae0850
commit
c60264b87f
1 changed files with 1 additions and 1 deletions
|
|
@ -46,7 +46,7 @@ file to your `public` directory. You can do this automatically with a `postinsta
|
|||
You can also use this module with [deno](https://deno.land/):
|
||||
|
||||
```js
|
||||
import Parser from "npm:web-tree-sitter";
|
||||
import { Parser } from "npm:web-tree-sitter";
|
||||
await Parser.init();
|
||||
// the library is ready
|
||||
```
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue