Closed yuyinws closed 4 months ago
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'
Fixes #
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.
π What type of PR is this?
Optimization types. User can import more types from this pkg directly.
After
Before
π What this PR does / why we need it:
π ° 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.: