Skip to content
This repository was archived by the owner on Jan 21, 2025. It is now read-only.

Commit

Permalink
Fix invalid using value in type with value world (#574)
Browse files Browse the repository at this point in the history
* Fix invalid with value world

* Create little-avocados-sniff.md
  • Loading branch information
timotheeguerin authored May 7, 2024
1 parent f653fe3 commit b66f861
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/little-avocados-sniff.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@azure-tools/cadl-ranch-specs": patch
---

Fix invalid with value world
2 changes: 1 addition & 1 deletion packages/cadl-ranch-specs/http/type/union/main.tsp
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ interface MixedTypes
/**
* Helper interface to describe a test involving getting and sending a specific data
*/
interface GetAndSend<Union, Payload extends valueof string, Cases = Union> {
interface GetAndSend<Union, Payload extends string, Cases = Union> {
@scenario
@scenarioDoc(
"""
Expand Down

0 comments on commit b66f861

Please sign in to comment.