0.0.9 • Published 2 years ago

wings-ts-util v0.0.9

Weekly downloads
328
License
MIT
Repository
github
Last release
2 years ago

wings-ts-util

Requirements

Usage

npm install -D wings-ts-util

person.struct

ts-filepath path/to/tsfile

ts-import { IWingsStruct }:wings-ts-util

ts-implement IWingsStruct

Person {
  id    int   -1
  name  str
}

TypeScript

import { WingsStructUtil } from wings-ts-util;
import Person from 'path/to/tsfile/Person';

export class SomeClass {
  public static someFunction(someone: Person): string {
    return WingsStructUtil.stringify(someone);
  }

  public static personIsWingsStruct(someone: Person): bool {
    return WingsStructUtil.isIWingsStruct(someone);
  }
}

Development

  • Install
    • npm i
  • Build
    • npm build
  • Clean
    • npm clean
  • Testing
    • npm run cover
  • Publish
    • npm publish
0.0.9

2 years ago

0.0.8

3 years ago

0.0.7

3 years ago

0.0.6

5 years ago

0.0.5

5 years ago

0.0.4

5 years ago

0.0.3

5 years ago

0.0.2

5 years ago

0.0.1

5 years ago