Skip to content

Commit 79f6934

Browse files
phanensqueek502
authored andcommitted
fix(doc): uv.spawn returns type
1 parent e6aaebc commit 79f6934

File tree

3 files changed

+7
-5
lines changed

3 files changed

+7
-5
lines changed

docs/docs.lua

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1874,8 +1874,9 @@ local doc = {
18741874
},
18751875
},
18761876
returns = {
1877-
{ 'uv_process_t', 'handle' },
1878-
{ 'integer', 'pid' },
1877+
{ opt('uv_process_t'), 'handle' },
1878+
{ union('integer', 'string'), 'pid or err' },
1879+
{ opt('uv.error_name'), 'err_name' },
18791880
},
18801881
},
18811882
{

docs/docs.md

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/meta.lua

Lines changed: 3 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)