text-alias
v1.0.0
Published
TypeScript library for a text type (string)
Downloads
3
Readme
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.