@stakingcapital.io/types
v1.1.8
Published
A library containing all types used in the STAKING CAPITAL programs
Downloads
7
Readme
@staking-capital/types
Includes all types from:
staking-capital-api
staking-capital-ui
staking-capital-home
utils
Syntax Guidelines
Don't use default exports
❌
export default type X = {}
...
import X from "./x"
✅
export type X = {};
import { X } from "./x";
Use CamelCase instead of snake_case
❌
type X = {
first_name: string;
last_name: string;
};
✅
type X = {
firstName: string;
lastName: string;
};