Files
vscode/extensions/copilot/chat-lib
Ulugbek Abdullaev e2b748adf8 Fix isCustomTeamDefaultValue type guard to check all required properties (#3315)
* Fix isCustomTeamDefaultValue type guard to check all required properties

The type guard was only checking for 'defaultValue' and 'teamDefaultValue'
properties, allowing objects missing 'owner' and 'expirationDate' to pass
the check. This caused runtime errors when accessing expirationDate on
incomplete objects.

Now checks for all four required properties of CustomTeamDefaultValue<T>.

* chat-lib: update package to match main package.json
2026-01-30 14:41:52 +00:00
..
2025-08-29 14:41:27 +00:00
2025-08-29 14:41:27 +00:00
2025-08-29 14:41:27 +00:00

@vscode/chat-lib

Chat SDK extracted from VS Code Copilot Chat.

Installation

npm install @vscode/chat-lib

License

MIT