Use more specific types than `any` in .d.ts typings
JoshuaKGoldberg opened this issue · 0 comments
JoshuaKGoldberg commented
For example, in react.d.ts
:
export const createElement: any;
Should be something like:
export const createElement: typeof React.createElement;