Dont export websocket.

This commit is contained in:
Dessalines 2023-06-06 09:06:30 -04:00
parent ea0c112520
commit 0a0acce81c

View file

@ -3,7 +3,7 @@ const path = require("path");
const exportRegex = /export\s+(?:enum|interface|type)\s+([A-Za-z0-9_]+)/g; const exportRegex = /export\s+(?:enum|interface|type)\s+([A-Za-z0-9_]+)/g;
const baseExports = ['export * from "./http";', 'export * from "./websocket";']; const baseExports = ['export * from "./http";'];
async function putTypesInIndex() { async function putTypesInIndex() {
const typeFiles = await fs.readdir(path.resolve("./src/types")); const typeFiles = await fs.readdir(path.resolve("./src/types"));