Type Checking

This commit is contained in:
Tben 2023-08-07 05:17:08 +01:00
parent 7ed30ff720
commit c02feeca08
2 changed files with 12 additions and 1 deletions

View File

@ -1,6 +1,6 @@
{
"name": "datasquirel",
"version": "1.2.7",
"version": "1.2.8",
"description": "Cloud-based SQL data management tool",
"main": "index.js",
"scripts": {

11
types/general.td.js Normal file
View File

@ -0,0 +1,11 @@
const http = require("http");
/**
* @typedef {http.IncomingMessage} Request
*/
/**
* @typedef {http.ServerResponse} Response
*/
module.exports = { Request, Response };