chooseInvoiceTitle接口ChooseInvoiceTitleSuccessCallbackResult类型有误

Open Beginner friendly
#366 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
68/100
Issue type
Bug
Clarity
Clearly specified
Activity status
Stale
Tech stack
typescript
Domain
api

Research direction

Search the TypeScript API typings for ChooseInvoiceTitleSuccessCallbackResult and compare its type field with the WeChat Mini Program documentation shown in the issue. Update the declaration so the field matches the documented string type, then run the repository’s relevant type checks or tests if available.

Written by the indexing model from the issue text.

Description

interface ChooseInvoiceTitleSuccessCallbackResult {
        /** 银行账号 */
        bankAccount: string
        /** 银行名称 */
        bankName: string
        /** 单位地址 */
        companyAddress: string
        /** 错误信息 */
        errMsg: string
        /** 抬头税号 */
        taxNumber: string
        /** 手机号码 */
        telephone: string
        /** 抬头名称 */
        title: string
        /** 抬头类型
         *
         * 可选值:
         * - 0: 单位;
         * - 1: 个人; */
        type: 0 | 1
    }

根据小程序文档type类型为string
Image

Dominant language
TypeScript
Stars
803
Forks
117
Avg merge
24m
Merged PRs (30d)
1

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from wechat-miniprogram/api-typings

All issues in wechat-miniprogram/api-typings

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.