open-im-sdk-web-wasm
open-im-sdk-web-wasm copied to clipboard
feat: export more types
π What type of PR is this?
Optimization types. User can import more types from this pkg directly.
After
import { GroupApplicationItem } from 'open-im-sdk-wasm/lib/types/entity'
Before
import { GroupApplicationItem } from 'open-im-sdk-wasm'
π What this PR does / why we need it:
- [x] My pull request adheres to the code style of this project
- [ ] My code requires changes to the documentation
- [ ] I have updated the documentation as required
- [x] All the tests have passed
π ° Which issue(s) this PR fixes:
Fixes #
π Special notes for your reviewer:
π― Describe how to verify it
π Additional documentation e.g., RFC, notion, Google docs, usage docs, etc.:
In fact, my original intention is to distinguish between methods, enums, and types.The reason why enum can be imported from the root path is because if not, it will not be compiled.