Skip to content

怎么改变 Typescript 的默认生成的函数格式? #740

Closed
@Shawn211

Description

@Shawn211

Before you submit an question we recommend you to check out the DOCUMENT first.

You can also find more information in:

💬 Questions and Help

Please outline the questions.

点击 Code Now 按钮,会生成默认格式的文件。

...
function twoSum(nums: number[], target: number): number[] {

};
...

怎么改变他的默认生成的函数像这样的格式?

...
export function twoSum(nums: number[], target: number): number[] {

}
...

谢谢

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions