Typescript styleguide inspired by Deno.
See:
- https://deno.land/manual@v1.6.3/contributing/style_guide
- https://github.com/microsoft/TypeScript/wiki/Performance
- https://github.com/microsoft/TypeScript/wiki/Performance#preferring-interfaces-over-intersections
- to avoid
never
on intersections as is in case oftype
export type TBreakpointNames = "mobile" | "tablet" | "laptop" | "desktop";
export interface TBreakpoint {
name: TBreakpointNames;
value: number;
}