Type Checking
This commit is contained in:
parent
7ed30ff720
commit
c02feeca08
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "datasquirel",
|
"name": "datasquirel",
|
||||||
"version": "1.2.7",
|
"version": "1.2.8",
|
||||||
"description": "Cloud-based SQL data management tool",
|
"description": "Cloud-based SQL data management tool",
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
11
types/general.td.js
Normal file
11
types/general.td.js
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
const http = require("http");
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @typedef {http.IncomingMessage} Request
|
||||||
|
*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @typedef {http.ServerResponse} Response
|
||||||
|
*/
|
||||||
|
|
||||||
|
module.exports = { Request, Response };
|
Loading…
Reference in New Issue
Block a user