diff options
| author | Gianni Ceccarelli <dakkar@thenautilus.net> | 2024-03-20 02:25:49 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-03-20 11:25:49 +0900 |
| commit | d7bb6c88d3e4878486fb1f4d1655379896a5d976 (patch) | |
| tree | 452c5ea20578bc569050c54cfc1e747dc3cae100 /package.json | |
| parent | fix(frontend): shikiの言語・テーマの定義ファイルをCDN(esm.sh)... (diff) | |
| download | misskey-d7bb6c88d3e4878486fb1f4d1655379896a5d976.tar.gz misskey-d7bb6c88d3e4878486fb1f4d1655379896a5d976.tar.bz2 misskey-d7bb6c88d3e4878486fb1f4d1655379896a5d976.zip | |
Cypress typescript (#13591)
* convert Cypress tests to TypeScript
this work was done by @lunaisnotaboy https://github.com/lunaisnotaboy
for their fork https://github.com/cutiekey/cutiekey/pull/7
I just repacked their changes into a minimal set
* fix call to `window` in cypress tests
this error was spotted thanks to the TypeScript compiler:
```
support/commands.ts:33:12 - error TS2559: Type '(win: any) => void'
has no properties in common with type 'Partial<Loggable &
Timeoutable>'.
33 cy.window(win => {
~~~~~~~~
Found 1 error in support/commands.ts:33
```
(again, @lunaisnotaboy did the actual work)
Diffstat (limited to 'package.json')
| -rw-r--r-- | package.json | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/package.json b/package.json index 41b865456d..8f5ab0b124 100644 --- a/package.json +++ b/package.json @@ -59,6 +59,7 @@ "typescript": "5.3.3" }, "devDependencies": { + "@types/node": "^20.11.28", "@typescript-eslint/eslint-plugin": "7.1.0", "@typescript-eslint/parser": "7.1.0", "cross-env": "7.0.3", |