1.2.3 • Published 3 years ago
@qiwi/substrate-infra v1.2.3
substrate
Common types, interfaces and abstracts
Install
npm i @qiwi/substrate -D
yarn i @qiwi/substrate --devUsage
import { IStringMap } from '@qiwi/substrate'
const foo: IStringMap = {
bar: 'baz',
qux: 'quux'
} Contract
Naming
Upper-camel-case with prefixes I, T and A.
IFoo— Foo interfaceTBar— Bar typeABaz— Baz abstract
Versioning
Type changes without backward compatibility should be complemented by a version suffix Vx, where x ∈ ℕ.
IFooV1— The first version of Foo interfaceTBarV2— Bar type version 2