-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Co-authored-by: ygqygq2 <ygqygq2@qq.com>
- Loading branch information
Showing
23 changed files
with
177 additions
and
79 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
const testString = 'this is a string'; | ||
console.log('🚀 ~ file: to-test-command-addFileheader.ts:2 ~ testString:', testString); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
/* | ||
* @file sampleWorkspace/file-header/no-fileheader.ts | ||
* @description test file header | ||
* @author ygqygq2 <ygqygq2@qq.com> | ||
* @createTime 2024-04-11 16:37:11 | ||
* @lastModified 2024-04-11 16:37:59 | ||
* Copyright ©ygqygq2 All rights reserved | ||
*/ | ||
|
||
const testString = 'this is a string'; | ||
console.log('🚀 ~ file: to-test-command-addFileheader.ts:2 ~ testString:', testString); |
10 changes: 10 additions & 0 deletions
10
sampleWorkspace/function-comment/variable-arrow-function-with-params-type-update.result.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
/** | ||
* @description test | ||
* @return default {string} | ||
* @param a {string} | ||
* @param b {number} | ||
*/ | ||
const func2 = (a: string, b: number): string => { | ||
console.log(a + b); | ||
return a + b; | ||
}; |
10 changes: 10 additions & 0 deletions
10
sampleWorkspace/function-comment/variable-arrow-function-with-params-type-update.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
/** | ||
* @description test | ||
* @return default {string} | ||
* @param a {string} | ||
* @param b {string} | ||
*/ | ||
const func2 = (a: string, b: number): string => { | ||
console.log(a + b); | ||
return a + b; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
sampleWorkspace/function-comment/variable-arrow-function-with-params-type.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
const func = (a: string, b: string): string => { | ||
const func1 = (a: string, b: string): string => { | ||
console.log(a + b); | ||
return a + b; | ||
}; |
10 changes: 10 additions & 0 deletions
10
sampleWorkspace/function-comment/variable-arrow-function-without-params-type.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
/** | ||
* @description | ||
* @return default {void} | ||
* @param a {any} | ||
* @param b {any} | ||
*/ | ||
const func = (a, b) => { | ||
console.log(a + b); | ||
return a + b; | ||
}; |
10 changes: 10 additions & 0 deletions
10
sampleWorkspace/function-comment/variable-arrow-function-without-params-type.result.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
/** | ||
* @description | ||
* @return default {void} | ||
* @param a {any} | ||
* @param b {any} | ||
*/ | ||
const func = (a, b) => { | ||
console.log(a + b); | ||
return a + b; | ||
}; |
10 changes: 10 additions & 0 deletions
10
sampleWorkspace/function-comment/variable-arrow-function-without-params-type.result.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
/** | ||
* @description | ||
* @return default {void} | ||
* @param a {any} | ||
* @param b {any} | ||
*/ | ||
const func = (a, b) => { | ||
console.log(a + b); | ||
return a + b; | ||
}; |
10 changes: 10 additions & 0 deletions
10
sampleWorkspace/function-comment/variable-arrow-function-without-params-type.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
/** | ||
* @description | ||
* @return default {void} | ||
* @param a {any} | ||
* @param b {any} | ||
*/ | ||
const func = (a, b) => { | ||
console.log(a + b); | ||
return a + b; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.