Typescript library for a text type (string alias).
$ npm install text-alias
import { text } from 'text-alias'
const foo: text = "bar"
const baz: text[] = ["qux", "quux"]pls don't
Licensed under WTFPL. Inspired by Dan Abramov's tweet.
Typescript library for a text type (string alias).
$ npm install text-alias
import { text } from 'text-alias'
const foo: text = "bar"
const baz: text[] = ["qux", "quux"]pls don't
Licensed under WTFPL. Inspired by Dan Abramov's tweet.