MCPcopy Index your code
hub / github.com/nestjs/swagger / objType

Function objType

lib/plugin/utils/plugin-utils.ts:156–162  ·  view source on GitHub ↗
(t: string)

Source from the content-addressed store, hash-verified

154): ts.Expression {
155 const text = getText(valueType, typeChecker);
156 const objType = (t: string) =>
157 factory.createObjectLiteralExpression(
158 [
159 factory.createPropertyAssignment('type', factory.createStringLiteral(t))
160 ],
161 false
162 );
163
164 if (
165 isString(valueType) ||

Callers 1

Calls 1

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…