-
Notifications
You must be signed in to change notification settings - Fork 340
Open
Labels
compiler:coreIssues for @typespec/compilerIssues for @typespec/compilerfeatureNew feature or requestNew feature or requesttriaged:core
Milestone
Description
There is a few ways we could consider this.
// 1. Evaluate expr
$.type.instantiate("Array<Foo>")
// 2. Pass args manually
$.type.instantiate($.type.resolve("Array"), [$.type.resolve("Foo")])- Is probably needed for more control but it is also right now blocked as
$.type.resolve("TemplateDecl")won't resolve it, need a flag to allow resolving the declaration
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
compiler:coreIssues for @typespec/compilerIssues for @typespec/compilerfeatureNew feature or requestNew feature or requesttriaged:core