Skip to content

Commit

Permalink
chore: update TypeScript to 5.0.2
Browse files Browse the repository at this point in the history
Fix case where now TypeScript sees this as void.
  • Loading branch information
ludofischer committed Mar 16, 2023
1 parent 2ca0634 commit 65674d4
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 12 deletions.
4 changes: 2 additions & 2 deletions package.json
Expand Up @@ -21,7 +21,7 @@
},
"devDependencies": {
"@changesets/cli": "^2.26.0",
"@types/node": "^18.11.9",
"@types/node": "^18.15.3",
"c8": "^7.13.0",
"diff": "^5.1.0",
"eslint": "^8.36.0",
Expand All @@ -33,7 +33,7 @@
"postcss-font-magician": "^3.0.0",
"postcss-value-parser": "^4.2.0",
"prettier": "^2.8.4",
"typescript": "^4.8.4",
"typescript": "~5.0.2",
"uvu": "^0.5.6"
},
"browserslist": {
Expand Down
2 changes: 1 addition & 1 deletion packages/postcss-merge-rules/src/index.js
Expand Up @@ -307,7 +307,7 @@ function partialMerge(first, second) {

/**
* @param {function(import('postcss').Declaration):void} callback
* @this {import('postcss').Rule}
* @this void
* @return {function(import('postcss').Declaration)}
*/
function moveDecl(callback) {
Expand Down
2 changes: 2 additions & 0 deletions packages/stylehacks/types/plugins/index.d.ts
Expand Up @@ -4,3 +4,5 @@ declare const _exports: ({
new (result?: import("postcss").Result | undefined): trailingSlashComma;
})[];
export = _exports;
import important = require("./important");
import trailingSlashComma = require("./trailingSlashComma");
18 changes: 9 additions & 9 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 65674d4

Please sign in to comment.