Skip to content

kern/text-alias

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

text-alias

Typescript library for a text type (string alias).

Installation

$ npm install text-alias

Usage

import { text } from 'text-alias'

const foo: text = "bar"
const baz: text[] = ["qux", "quux"]

When should I use this?

pls don't

License & Acknowledgements

Licensed under WTFPL. Inspired by Dan Abramov's tweet.

About

:shipit: Strings should just be called texts

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published