-
2fc0bb2: Resolve
parsedTypefor members declared on a Lit-style mixin.Declaration matching only recognised a manifest declaration when its name matched the class node exactly. A mixin factory's inner class (for example
WithFooClass) never matched its emittedkind: mixindeclaration (WithFoo), so the mixin's members kept their raw type text instead of an expanded union. Declaration matching now recognisesmixindeclarations by their factory name, and the existing node-based resolution runs on them.
-
ff0ce1a: Fix imported type alias resolution when a type name is declared in multiple files. Parsed types are now resolved through the TypeScript AST and type checker (using the type's actual declaration symbol) instead of matching by type name and resolved filename string, so members correctly resolve to the type actually imported by the module. Types imported from
node_modulesare also resolved correctly (previously they fell through the import-path fallbacks and were not expanded).Also respect tsconfig
excludeglob patterns (e.g.**/dist) when walking source files, instead of substring-matching absolute paths.Memoize top-level type expansion results in a
WeakMapkeyed by the type object, so per-member resolution reuses the walk's computed types instead of re-expanding them.Add
maxParseDepth(default 8) andmaxParseProperties(default 50) options so the expansion bail limits can be raised for types with deep or large structures. Boolean-typed object properties now expand tobooleaninstead offalse | true.
-
fbceecc: Export
getTypeChecker()andgetProgram()accessor functions for use in custom CEM plugins (fixes #10).Replace
typeChecker.getProgram()call (removed from TypeScript 5.x) with stored program reference to fix #14.Add
debugfield to default options and ensure logger is always initialized ingetTsProgramto fix #15.
- 0997aff: Fix getTsProgram to resolve extends chains in tsconfig.json instead of silently falling back to default compiler options. Root files are now also resolved from the tsconfig's include/exclude, unioned with the caller-supplied globs.
-
e924dbd: Improve type parsing fallbacks for complex and recursive aliases.
The parser now preserves manifest generation by warning and falling back to the original type text when a type cannot be safely expanded, and it resolves more object-based utility types such as
Omit.
- c2eb8e0: Fix Windows manifest module paths by converting absolute paths to relative paths consistently during analysis.
- 5995e59: Add config option for parsing method parameters
- bb312ca: Add parseObjectTypes config option to add interface/object types to CEM
- 5f75ef6: Excluded
mode_modulesfrom parser to prevent infinite loops
- 85ed983: Fixed error when trying to parse TypeScript types
- 1935ce1: Fixed image URL in README
- 609c34a: Initial commit