Utility functions for working with TypeScript's API, providing comprehensive tools for analyzing and manipulating TypeScript AST nodes, types, and compiler APIs.
79
{
"context": "This criteria evaluates how well the engineer uses ts-api-utils package functions to implement type inspection capabilities. The focus is on correct usage of getCallSignaturesOfType, getPropertyOfType, and getWellKnownSymbolPropertyOfType functions.",
"type": "weighted_checklist",
"checklist": [
{
"name": "Uses getCallSignaturesOfType",
"description": "Implementation uses the getCallSignaturesOfType function from ts-api-utils to extract call signatures from types",
"max_score": 35
},
{
"name": "Uses getPropertyOfType",
"description": "Implementation uses the getPropertyOfType function from ts-api-utils to retrieve regular properties from types by name",
"max_score": 30
},
{
"name": "Uses getWellKnownSymbolPropertyOfType",
"description": "Implementation uses the getWellKnownSymbolPropertyOfType function from ts-api-utils to retrieve well-known symbol properties (like Symbol.iterator) from types",
"max_score": 35
}
]
}Install with Tessl CLI
npx tessl i tessl/npm-ts-api-utilsevals
scenario-1
scenario-2
scenario-3
scenario-4
scenario-5
scenario-6
scenario-7
scenario-8
scenario-9
scenario-10