JavaScript
- 22 ответа
- 0 вопросов
21
Вклад в тег
interface Package {
id: number;
activated: boolean;
name: string;
}
interface ActivatedPackage extends Package {
activated: true;
}
interface OptionalProps {
foo: string;
bar: number
}
const activatedPackages: Array<ActivatedPackage & Partial<OptionalProps>> = [ ... ];
transition: 0.3s;
var mixer = mixitup('.menu__list', {
controls: {
toggleLogic: 'and',
toggleDefault: 'none'
},
animation: {
duration: 300
}
});