Skip to content

Types

Common types used throughout the w3ux library.

npmsource

Install

First, we will install @w3ux/types as a dependency in our project.

npm
npm i @w3ux/types

Import

import { Sync } from '@w3ux/types';
 
let synced: Sync = 'unsynced';