@witherion/types

3.1.0 • Public • Published

erion-types

client

Example in types/index.d.ts

import '@witherion/types'

in your-source.ts

const createUserPostArgs: Erion.CreateUserPostArgs = { ... }
const query = /* GraphQL */`
  query createUserPost(...) {
    createUserPost(...) {
      ...
    }
  }
`
const userPost: Erion.Mutation.createUserPost = (
  await axios.(endpoint, {
    query,
    variables: createUserPostArgs,
  })
).data.createUserPost
const 

Readme

Keywords

none

Package Sidebar

Install

npm i @witherion/types

Weekly Downloads

4

Version

3.1.0

License

ISC

Unpacked Size

118 kB

Total Files

8

Last publish

Collaborators

  • jeehyukwon
  • juyoung
  • scorpion_
  • yoonho_go