Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Enforce 23.1.0 * Remove /ssr and delete /scope * Fix build and commits * Separate public types from sources * Use dist version of the package * Make public types work * Make build work * Fix type-tests resolving * Enforce prior build for code tests * Use vitest * Remove jest * remove jest * Add attw and publint into ci * Fix package issues * Fix type paths * Fix resolved path * Rewrite types for reflect method * Rewrite createReflect types * Bump react * Bump react types * Add another type level edge case * Restore some of the variant types * Restore variant types * generalize bind usage * Make `list` types work * Add JSDoc notation * Use public typings in tests directly * Simplify source typings * Add basic type test for createReflect * Improve types * Enable skipLibCheck in type tests There are a lot of strange stuff in @types/react 🤷 * Improve type inference for callbacks * Add tests for scoped callbacks * Support arbitary callback feature * Add tests for callback in mapItem * Support scopeBind callbacks in mapItem * Document fork api auto-compatibility * Document fork api auto compatibility in `list` * Fix docs view * Add types for fromTag helper * Fix example * implement fromTag * Remove unsued expect error directive * Document `fromTag` * Create types for useUnit config * Fix weird gitignore * Implement `useUnitConfig` field * Do not generate d.mts * Improve wording * fix json formatting * Add more type-tests * Revert to use React.FC type again For some reason, on a real test in Next.js project, the (props: ...) => React.ReactNode type is not compatible in some cases * Add note in the code about type inference
- Loading branch information