首页 > typescript 这样写类型定义姿势正确吗?
我直接在 index.d.ts 里加 declare class。 但是会报错, 下面的红框。 google 了一圈也看不懂别人在说什么。。。