ux-types
TypeScript icon, indicating that this package has built-in type declarations

1.7.0 • Public • Published

Ux Types

Types for ux

Install

npm install ux-types --save-dev

Usage

JS File Type Hints

import { defineComponent } from 'ux-types';

export default defineComponent({
   private: {
    title: "title"
   },
   onShow() {
    this.fn();
   },
   fn() {
    console.log(this.title);
   }
})

JS Interface Hints

Create a jsconfig.json / tsconfig.json in your project root directory with the following content:

{
    "compilerOptions": {
        "module": "preserve",
        "types": ["ux-types/feature"],
    }
}

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
1.7.02latest

Version History

VersionDownloads (Last 7 Days)Published
1.7.02
1.7.0-beta.71
1.7.0-beta.60
1.7.0-beta.50
0.1.19
0.1.00
0.0.110
0.0.90
0.0.80
0.0.70
0.0.60
0.0.50
0.0.40
0.0.30
0.0.20
0.0.10

Package Sidebar

Install

npm i ux-types

Weekly Downloads

12

Version

1.7.0

License

MIT

Unpacked Size

390 kB

Total Files

134

Last publish

Collaborators

  • dongwa
  • chapaofan