From 16fe189aa20b0e13a519965ebe784036f5207642 Mon Sep 17 00:00:00 2001 From: jean Date: Fri, 26 Jul 2024 18:12:11 +0200 Subject: [PATCH] docs: highlight syntax --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index e80cccc..726a478 100644 --- a/README.md +++ b/README.md @@ -141,7 +141,7 @@ declare module 'fastify' { #### MySQLRowDataPacket Ability to add type for return data using mysql2 [RowDataPacket](https://sidorares.github.io/node-mysql2/docs/documentation/typescript-examples#rowdatapacket). -``` +```js const fastifyMysql, { MySQLRowDataPacket } from '@fastify/mysql' const app = fastify(); @@ -168,7 +168,7 @@ app.get("/", async () => { #### MySQLResultSetHeader Ability to add type for return data using mysql2 [ResultSetHeader](https://sidorares.github.io/node-mysql2/docs/documentation/typescript-examples#resultsetheader). -``` +```js const fastifyMysql, { MySQLResultSetHeader } from '@fastify/mysql' const app = fastify();