API / @aionbuilders/nabu/extend

Platform

Type Stability: stable

The platform whose conventions Mod and the displayed shortcuts follow: 'mac' (Cmd) or 'other' (Ctrl).

Definition

TypeScript
import type { Platform } from '@aionbuilders/nabu/extend';
TypeScript
type Platform = 'mac' | 'other'

Source: src/lib/utils/keys.js:25