@typespec/rest
Advanced tools
Comparing version 0.46.0-dev.5 to 0.46.0-dev.6
@@ -1,2 +0,2 @@ | ||
import { $visibility, getKeyName, isErrorType, isKey, validateDecoratorTarget, } from "@typespec/compiler"; | ||
import { $visibility, getKeyName, isErrorType, isKey, setTypeSpecNamespace, validateDecoratorTarget, } from "@typespec/compiler"; | ||
import { $path } from "@typespec/http"; | ||
@@ -48,2 +48,3 @@ import { createStateSymbol, reportDiagnostic } from "./lib.js"; | ||
} | ||
setTypeSpecNamespace("Private", $resourceTypeForKeyParam); | ||
export function getResourceTypeForKeyParam(program, param) { | ||
@@ -50,0 +51,0 @@ return program.stateMap(resourceTypeForKeyParamKey).get(param); |
{ | ||
"name": "@typespec/rest", | ||
"version": "0.46.0-dev.5", | ||
"version": "0.46.0-dev.6", | ||
"author": "Microsoft Corporation", | ||
@@ -5,0 +5,0 @@ "description": "TypeSpec REST protocol binding", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
108682
915