export type SpringHelperConfig = {
stiffness?: number,
damping?: number,
precision?: number,
};
Just like the above code, later Can I directly import SpringHelperConfig and use it? . .
phpcn_u15822017-05-19 10:35:33
es6 cannot be written like this. What you see should be typescript code.