Skip to content

Commit

Permalink
Node.js: Don't use deprecated syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
tronical committed Jul 18, 2024
1 parent 5a93bbc commit 29fdac8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions api/node/cover.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ without pre-built binaries, you need to additional software:

```
import { AboutSlint, Button, VerticalBox } from "std-widgets.slint";
export component Demo {
export component Demo inherits Window {
in-out property <string> greeting <=> label.text;
VerticalBox {
alignment: start;
Expand Down Expand Up @@ -93,7 +93,7 @@ For a complete example, see [/examples/todo/node](https://github.com/slint-ui/sl

```
import { AboutSlint, Button, VerticalBox } from "std-widgets.slint";
export component Demo {
export component Demo inherits Window {
in-out property <string> greeting <=> label.text;
VerticalBox {
alignment: start;
Expand Down

0 comments on commit 29fdac8

Please sign in to comment.