Skip to content

docs: Annotated Window, MuxTabObj and SpawnCommand.#14

Merged
justinsgithub merged 2 commits into
mainfrom
patch/documentation
Jul 26, 2025
Merged

docs: Annotated Window, MuxTabObj and SpawnCommand.#14
justinsgithub merged 2 commits into
mainfrom
patch/documentation

Conversation

@DrKJeff16
Copy link
Copy Markdown
Owner

Changes

  • fix(objects): Completed SpawnCommand.
  • fix: Annotated Window and MuxTabObj objects.

- fix(objects): Completed `SpawnCommand`.
- fix: Annotated `Window` and `MuxTabObj` objects.

Signed-off-by: Guennadi Maximov C <[email protected]>
@DrKJeff16 DrKJeff16 requested a review from justinsgithub as a code owner July 25, 2025 19:35
Copy link
Copy Markdown
Owner Author

@DrKJeff16 DrKJeff16 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Big Changes

Annotation syntax modifications aside, I fixed many return values for the
Color object: a127caf

@justinsgithub You were using { a: type, b: type, ... } returns instead of tuples:

-- WRONG
---@type fun(): { f: number, oo: boolean }
local function foo()
  -- ...
  return f, oo
end

-- CORRECT
---@type fun(): b: number, a: boolean, r: table
local function bar()
  -- ...
  return b, a, r
end

@DrKJeff16 DrKJeff16 mentioned this pull request Jul 26, 2025
@DrKJeff16 DrKJeff16 changed the title docs: Annotated Window, 'MuxTabObj' and SpawnCommand. docs: Annotated Window, MuxTabObj and SpawnCommand. Jul 26, 2025
@justinsgithub justinsgithub merged commit c966d79 into DrKJeff16:main Jul 26, 2025
1 check passed
@DrKJeff16 DrKJeff16 deleted the patch/documentation branch July 26, 2025 18:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants