npm中的TypeScript类型定义文件如何处理类型定义的测试规则?
Home
});
expect(route).toBeInstanceOf(Route);
});
it('should have a correct type definition for Switch', () => {
const switchComponent = (
Home
} />
About
} />
猜你喜欢:SkyWalking