Skip to content

fix: resolve lint errors and TypeScript issues#10

Merged
dbanksdesign merged 3 commits into
mainfrom
dbanks/open-props
Feb 28, 2026
Merged

fix: resolve lint errors and TypeScript issues#10
dbanksdesign merged 3 commits into
mainfrom
dbanks/open-props

Conversation

@dbanksdesign

Copy link
Copy Markdown
Collaborator

Summary

  • Fixed 26 lint errors in @typestyles/props by replacing any types with unknown
  • Fixed empty object types {} in defineProperties.ts
  • Added proper generic type parameters to functions in props package
  • Fixed unused variables by prefixing with underscore
  • Added eslint ignores for generated docs files and scripts
  • Updated test assertions to use proper types

Changes

  • packages/props/src/types.ts - Replace any with unknown
  • packages/props/src/runtime.ts - Proper typing and underscore prefix for unused params
  • packages/props/src/utils.ts - Replace any with unknown
  • packages/props/src/createProps.ts - Proper generic types
  • packages/props/src/generate.ts - Proper generic types
  • packages/props/src/defineProperties.ts - Replace {} with proper types
  • packages/typestyles/src/styles.ts - Proper typing in compose function
  • eslint.config.js - Ignore generated docs and scripts

Testing

  • ✅ Lint passes
  • ✅ Typecheck passes
  • ✅ 107 tests pass

@dbanksdesign dbanksdesign merged commit c72cb12 into main Feb 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant