-
Notifications
You must be signed in to change notification settings - Fork 337
Open
Labels
docsImprovements or additions to documentationImprovements or additions to documentationmqGood candidate for MQGood candidate for MQneeds-areatriaged:core
Milestone
Description
Describe the bug
I had to add
import "@typespec/http/experimental/typekit";To make them work in a non Alloy environment. Otherwise typescript doesn't see merged typekit declaration and missing all http typekits.
This should be either documented or exposed and working with http module import.
Reproduction
import { getHttpOperation } from "@typespec/http";
import { $ } from "@typespec/compiler/typekit";
// import "@typespec/http/experimental/typekit"; // uncomment to make this work
const [httpOperation] = getHttpOperation(program, operation);
$(program).httpOperation.flattenResponses(httpOperation);Checklist
- Follow our Code of Conduct
- Check that there isn't already an issue that request the same bug to avoid creating a duplicate.
- Check that this is a concrete bug. For Q&A open a GitHub Discussion.
- The provided reproduction is a minimal reproducible example of the bug.
Reactions are currently unavailable
Metadata
Metadata
Labels
docsImprovements or additions to documentationImprovements or additions to documentationmqGood candidate for MQGood candidate for MQneeds-areatriaged:core