framework7io / framework7

Full featured HTML framework for building iOS & Android apps
http://framework7.io
MIT License
18.13k stars 3.23k forks source link

fix(react): typing error(Actions, Range) #3997

Closed AlwaysLoveme closed 2 years ago

AlwaysLoveme commented 2 years ago

src/modules/components/component.d.ts:

...
 $on: (eventName: string, handler: () => void) => void;  // eventName add type
 $once: (eventName: string, handler: () => void) => void;  // eventName add type
...

src/react/components/actions.jsx: Actions is namespace, can not use it as type; src/react/components/range.jsx: Range.Rage cause build error

nolimits4web commented 2 years ago

Hi, there shouldn't be committed changes to package-lock.json. Can you remove them?