Skip to content

jeffy-g/ts-cc-map

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ts-cc-map

Usage

You can install the package in any TypeScript project using:

yarn add ts-cc-map -D

Use the compile-time const enum definition like this:

/// <reference types="ts-cc-map/ECC_MAP" />

const code = ECC_MAP.A; // Example usage

If you need a runtime value alternative, import the object version:

import { ECC_MAP } from "ts-cc-map";

const code = ECC_MAP.A;

Packages

 
 
 

Contributors