ord()
and chr()
with 256 specific overloads
import { ord, chr } from 'typescript-char-code'
const foo: 'A' = ord(65)
const bar: 65 = ord('A')
ord()
and chr()
with 256 specific overloads
import { ord, chr } from 'typescript-char-code'
const foo: 'A' = ord(65)
const bar: 65 = ord('A')