mobx-value-ts-gear-plugin
TypeScript icon, indicating that this package has built-in type declarations

1.1.0 • Public • Published

mobx-value-ts-gear-plugin

mobx-value for ts-gear plugin

Install

npm i mobx-value-ts-gear-plugin
// or
yarn add mobx-value-ts-gear-plugin

How to use in code

In your ts-gear config file, for example src/tsg.config.ts

import type { Project } from 'ts-gear'
import { mobxValueTsGearPlugin } from 'mobx-value-ts-gear-plugin'

const projects: Project[] = [
  {
    name: 'service1',
    dest,
    source: 'http://your-api/v3/api-docs',
    importRequesterStatement: 'import { requester } from "../../fetchInterceptor/requester"',
    keepGeneric: false,
    hooks: mobxValueTsGearPlugin({
      output: resolveRoot('src/request/service1.ts'),
    }),
  },
]

Option

see Option

Package Sidebar

Install

npm i mobx-value-ts-gear-plugin

Weekly Downloads

0

Version

1.1.0

License

MIT

Unpacked Size

19.9 kB

Total Files

25

Last publish

Collaborators

  • superwf