-
Notifications
You must be signed in to change notification settings - Fork 414
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(vscodePlugin):remove unnecessary files and format irregular code (
#920) * chore(vscodePlugin):remove unnecessary files and format irregular code * fix: Type 'number' is not assignable to type 'Timeout'. * chore: remove vscodePlugin yarn.lock
- Loading branch information
Showing
21 changed files
with
29 additions
and
4,844 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
File renamed without changes.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
@@ -1,23 +1 @@ | ||
import * as path from 'path'; | ||
|
||
import { runTests } from 'vscode-test'; | ||
|
||
async function main() { | ||
try { | ||
// The folder containing the Extension Manifest package.json | ||
// Passed to `--extensionDevelopmentPath` | ||
const extensionDevelopmentPath = path.resolve(__dirname, '../../'); | ||
|
||
// The path to test runner | ||
// Passed to --extensionTestsPath | ||
const extensionTestsPath = path.resolve(__dirname, './suite/index'); | ||
|
||
// Download VS Code, unzip it and run the integration test | ||
await runTests({ extensionDevelopmentPath, extensionTestsPath }); | ||
} catch (err) { | ||
console.error('Failed to run tests'); | ||
process.exit(1); | ||
} | ||
} | ||
|
||
main(); | ||
// TODO |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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,18 +1,18 @@ | ||
// 上传方式 | ||
export type UploadType = 'None' | 'CustomUploader' | 'PicGoServer'; | ||
|
||
// 自定义请求 | ||
export interface CustomUploader { | ||
enable: boolean; | ||
url: string; | ||
headers: HeadersInit; | ||
} | ||
// // 自定义请求 | ||
// export interface CustomUploader { | ||
// enable: boolean; | ||
// url: string; | ||
// headers: HeadersInit; | ||
// } | ||
|
||
// 回填图片附加参数 | ||
export type BackfillImageProps = Array<'isBorder' | 'isShadow' | 'isRadius'>; | ||
|
||
// 返回类型 | ||
// export type BackfillImage = Partial<Record<BackfillImageProps[number], boolean>>; | ||
export type BackfillImage = { | ||
[key in BackfillImageProps[number]]?: boolean; | ||
[_key in BackfillImageProps[number]]?: boolean; | ||
}; |
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
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
Oops, something went wrong.