Skip to content

Commit

Permalink
docs: fix javascript example references
Browse files Browse the repository at this point in the history
  • Loading branch information
EdJoPaTo committed Oct 11, 2021
1 parent 51b45aa commit ab62cb8
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ bot.launch()

![Example shown as a gif](media/example-food.gif)

Look at the code here: [TypeScript](examples/main-typescript.ts) / [JavaScript (consider using TypeScript)](examples/main-javascript.js)
Look at the code here: [TypeScript](examples/main-typescript.ts) / [JavaScript (consider using TypeScript)](examples/main-javascript.mjs)

# Migrate from version 4 to 5

Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
"build": "del-cli dist && tsc",
"prepack": "npm run build",
"preexample-js": "npm run build",
"example-js": "node examples/main-javascript.js",
"example-js": "node examples/main-javascript.mjs",
"start": "ts-node examples/main-typescript.ts",
"test": "tsc --sourceMap && xo && nyc ava"
},
Expand Down

0 comments on commit ab62cb8

Please sign in to comment.