@txe/define-x
TypeScript icon, indicating that this package has built-in type declarations

1.3.0 • Public • Published

define-x

Define a type for a value.

Installation

Available as @txe/define-x via your preferred Node.js package manager.

Usage

import { define } from '@txe/define-x'

export default define<string>('hello')

Readme

Keywords

Package Sidebar

Install

npm i @txe/define-x

Weekly Downloads

2

Version

1.3.0

License

MIT

Unpacked Size

2.02 kB

Total Files

5

Last publish

Collaborators

  • chabib