CtrlK
BlogDocsLog inGet started
Tessl Logo

tessl/npm-ts-api-utils

Utility functions for working with TypeScript's API, providing comprehensive tools for analyzing and manipulating TypeScript AST nodes, types, and compiler APIs.

79

1.97x
Overview
Eval results
Files

rubric.jsonevals/scenario-6/

{
  "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-utils

tile.json