open-im-sdk-web-wasm icon indicating copy to clipboard operation
open-im-sdk-web-wasm copied to clipboard

feat: export more types

Open yuyinws opened this issue 1 year ago β€’ 1 comments


πŸ” 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.:

yuyinws avatar Apr 03 '24 09:04 yuyinws

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.

Bloomingg avatar May 21 '24 13:05 Bloomingg