Skip to content

Commit

Permalink
Add new net module
Browse files Browse the repository at this point in the history
  • Loading branch information
Sytten committed Aug 9, 2024
1 parent 1780bcb commit ca238cc
Show file tree
Hide file tree
Showing 7 changed files with 604 additions and 12 deletions.
5 changes: 4 additions & 1 deletion packages/quickjs-types/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@
"src/*"
],
"scripts": {
"update": "rsync -av --exclude=node_modules --include='*.d.ts' --include='*/' --exclude='*' ../../../dependency-llrt/types/ ./src/llrt/"
"typing:llrt": "rsync -av --exclude=node_modules --include='*.d.ts' --include='*/' --exclude='*' ../../../dependency-llrt/types/ ./src/llrt/"
},
"dependencies": {
"prettier": "3.3.2"
}
}
4 changes: 4 additions & 0 deletions packages/quickjs-types/src/llrt/.prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"trailingComma": "es5",
"singleQuote": false
}
5 changes: 0 additions & 5 deletions packages/quickjs-types/src/llrt/child_process.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -139,11 +139,6 @@ declare module "child_process" {
*/
kill(signal?: QuickJS.Signals | number): boolean;

/**
* Calls {@link ChildProcess.kill} with `'SIGTERM'`.
*/
[Symbol.dispose](): void;

/**
* events.EventEmitter
* 1. close
Expand Down
1 change: 1 addition & 0 deletions packages/quickjs-types/src/llrt/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
/// <reference types="./fs.d.ts" />
/// <reference types="./fs/promises.d.ts" />
/// <reference types="./globals.d.ts" />
/// <reference types="./net.d.ts" />
/// <reference types="./os.d.ts" />
/// <reference types="./path.d.ts" />
/// <reference types="./process.d.ts" />
Expand Down
Loading

0 comments on commit ca238cc

Please sign in to comment.