Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion types/babel-plugin-react-html-attrs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
],
"dependencies": {
"@types/prop-types": "*",
"csstype": "^3.0.2"
"csstype": "^3.2.2"
},
"devDependencies": {
"@types/babel-plugin-react-html-attrs": "workspace:."
Expand Down
2 changes: 1 addition & 1 deletion types/cookieconsent/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"https://www.npmjs.com/package/cookieconsent"
],
"dependencies": {
"csstype": "^3.0.2"
"csstype": "^3.2.2"
},
"devDependencies": {
"@types/cookieconsent": "workspace:."
Expand Down
2 changes: 1 addition & 1 deletion types/cxs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
],
"dependencies": {
"@types/react": "*",
"csstype": "^3.0.2"
"csstype": "^3.2.2"
},
"devDependencies": {
"@types/cxs": "workspace:."
Expand Down
2 changes: 1 addition & 1 deletion types/d3-3d/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
],
"type": "module",
"dependencies": {
"csstype": "*"
"csstype": "^3.2.2"
},
"devDependencies": {
"@types/d3-3d": "workspace:.",
Expand Down
2 changes: 1 addition & 1 deletion types/fluent-react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"dependencies": {
"@types/fluent": "*",
"@types/react": "*",
"csstype": "^3.0.2"
"csstype": "^3.2.2"
},
"devDependencies": {
"@types/fluent-react": "workspace:."
Expand Down
2 changes: 1 addition & 1 deletion types/gl-react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
],
"dependencies": {
"@types/react": "*",
"csstype": "^3.0.2"
"csstype": "^3.2.2"
},
"devDependencies": {
"@types/gl-react": "workspace:."
Expand Down
2 changes: 1 addition & 1 deletion types/hookrouter/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
],
"dependencies": {
"@types/react": "*",
"csstype": "^3.0.2"
"csstype": "^3.2.2"
},
"devDependencies": {
"@types/hookrouter": "workspace:."
Expand Down
2 changes: 1 addition & 1 deletion types/humblebee__styled-components-breakpoint/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
],
"dependencies": {
"@types/styled-components": "*",
"csstype": "^3.0.2"
"csstype": "^3.2.2"
},
"devDependencies": {
"@types/humblebee__styled-components-breakpoint": "workspace:."
Expand Down
2 changes: 1 addition & 1 deletion types/mui-datatables/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"@emotion/styled": "^11.10.5",
"@mui/material": "^5.11.4",
"@types/react": "*",
"csstype": "3.1.1 || 3.1.2"
"csstype": "^3.2.2"
},
"devDependencies": {
"@types/mui-datatables": "workspace:."
Expand Down
2 changes: 1 addition & 1 deletion types/nodemailer/lib/addressparser/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ declare namespace addressparser {

interface Group {
name: string;
group: AddressOrGroup[];
group: Address[];
}

type AddressOrGroup = Address | Group;
Expand Down
10 changes: 3 additions & 7 deletions types/nodemailer/nodemailer-tests.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1543,13 +1543,9 @@ async function mailcomposer_build_promise_test() {

// addressparser

function isAddress(addressOrGroup: addressparser.AddressOrGroup): addressOrGroup is addressparser.Address {
return (addressOrGroup as addressparser.Address).address !== undefined;
}
declare function isAddress(arg: unknown): arg is addressparser.Address;

function isGroup(addressOrGroup: addressparser.AddressOrGroup): addressOrGroup is addressparser.Group {
return (addressOrGroup as addressparser.Group).group !== undefined;
}
declare function isGroup(arg: unknown): arg is addressparser.Group;

function addressparser_test() {
const input = "andris@tr.ee";
Expand All @@ -1559,7 +1555,7 @@ function addressparser_test() {
const address: string = firstResult.address;
const name: string = firstResult.name;
} else if (isGroup(firstResult)) {
const group: addressparser.AddressOrGroup[] = firstResult.group;
const group: addressparser.Address[] = firstResult.group;
const name: string = firstResult.name;
}
}
Expand Down
2 changes: 1 addition & 1 deletion types/rax/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
],
"dependencies": {
"@types/prop-types": "*",
"csstype": "^3.0.2"
"csstype": "^3.2.2"
},
"devDependencies": {
"@types/rax": "workspace:."
Expand Down
2 changes: 1 addition & 1 deletion types/react-expand-animated/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
],
"dependencies": {
"@types/react": "*",
"csstype": "^3.0.2"
"csstype": "^3.2.2"
},
"devDependencies": {
"@types/react-expand-animated": "workspace:."
Expand Down
2 changes: 1 addition & 1 deletion types/react-flag-icon-css/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
],
"dependencies": {
"@types/react": "*",
"csstype": "^3.0.2"
"csstype": "^3.2.2"
},
"devDependencies": {
"@types/react-flag-icon-css": "workspace:."
Expand Down
2 changes: 1 addition & 1 deletion types/react-lazy-load-image-component/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
],
"dependencies": {
"@types/react": "*",
"csstype": "^3.0.2"
"csstype": "^3.2.2"
},
"devDependencies": {
"@types/react-lazy-load-image-component": "workspace:."
Expand Down
2 changes: 1 addition & 1 deletion types/react-native-table-component/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"dependencies": {
"@types/react": "*",
"react-native": "*",
"csstype": "^3.0.3"
"csstype": "^3.2.2"
},
"devDependencies": {
"@types/react-native-table-component": "workspace:."
Expand Down
2 changes: 1 addition & 1 deletion types/react-refresh/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
},
"dependencies": {
"@types/babel__core": "*",
"csstype": "^3.0.2"
"csstype": "^3.2.2"
},
"devDependencies": {
"@types/react-refresh": "workspace:."
Expand Down
2 changes: 1 addition & 1 deletion types/react-responsive-spritesheet/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
],
"dependencies": {
"@types/react": "*",
"csstype": "^3.0.10"
"csstype": "^3.2.2"
},
"devDependencies": {
"@types/react-responsive-spritesheet": "workspace:."
Expand Down
2 changes: 1 addition & 1 deletion types/react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@
}
},
"dependencies": {
"csstype": "^3.0.2"
"csstype": "^3.2.2"
},
"devDependencies": {
"@types/react": "workspace:.",
Expand Down
2 changes: 1 addition & 1 deletion types/react/v16/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
"dependencies": {
"@types/prop-types": "*",
"@types/scheduler": "^0.16",
"csstype": "^3.0.2"
"csstype": "^3.2.2"
},
"devDependencies": {
"@types/create-react-class": "*",
Expand Down
2 changes: 1 addition & 1 deletion types/react/v17/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
"dependencies": {
"@types/prop-types": "*",
"@types/scheduler": "^0.16",
"csstype": "^3.0.2"
"csstype": "^3.2.2"
},
"devDependencies": {
"@types/create-react-class": "*",
Expand Down
2 changes: 1 addition & 1 deletion types/react/v18/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@
},
"dependencies": {
"@types/prop-types": "*",
"csstype": "^3.0.2"
"csstype": "^3.2.2"
},
"devDependencies": {
"@types/react": "workspace:.",
Expand Down
2 changes: 1 addition & 1 deletion types/styled-components/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"dependencies": {
"@types/hoist-non-react-statics": "*",
"@types/react": "*",
"csstype": "^3.0.2"
"csstype": "^3.2.2"
},
"devDependencies": {
"@types/react-dom": "*",
Expand Down
2 changes: 1 addition & 1 deletion types/styled-system/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"https://github.com/jxnblk/styled-system#readme"
],
"dependencies": {
"csstype": "^3.0.2"
"csstype": "^3.2.2"
},
"devDependencies": {
"@types/react": "*",
Expand Down
2 changes: 1 addition & 1 deletion types/styled-system__core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"https://github.com/styled-system/styled-system"
],
"dependencies": {
"csstype": "^3.0.2"
"csstype": "^3.2.2"
},
"devDependencies": {
"@types/styled-system__core": "workspace:."
Expand Down
2 changes: 1 addition & 1 deletion types/styled-system__css/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"https://github.com/styled-system/styled-system"
],
"dependencies": {
"csstype": "^3.0.2"
"csstype": "^3.2.2"
},
"devDependencies": {
"@types/styled-system__css": "workspace:."
Expand Down
2 changes: 1 addition & 1 deletion types/styled-theming/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
],
"dependencies": {
"@types/styled-components": "*",
"csstype": "^3.0.2"
"csstype": "^3.2.2"
},
"devDependencies": {
"@types/react": "*",
Expand Down
2 changes: 1 addition & 1 deletion types/styletron-standard/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"https://github.com/styletron/styletron"
],
"dependencies": {
"csstype": "^3.0.2"
"csstype": "^3.2.2"
},
"devDependencies": {
"@types/styletron-standard": "workspace:."
Expand Down
6 changes: 6 additions & 0 deletions types/wechat-miniprogram/lib.wx.api.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3733,6 +3733,12 @@ innerAudioContext.onError((res) => {
fetchedData: string;
/** 客户端拿到缓存数据的时间戳 */
timeStamp: number;
/** 小程序页面路径 */
path: string;
/** 传给页面的 query 参数 */
query: string;
/** 进入小程序的场景值 */
scene: number;
}
interface OnBeaconServiceChangeCallbackResult {
/** 服务目前是否可用 */
Expand Down