提交 ad538971 编写于 作者: fxy060608's avatar fxy060608

chore: bump typescript from 4.8.4 to 4.9.3

上级 cd23398d
{
"typescript.tsdk": "node_modules/typescript/lib"
}
\ No newline at end of file
...@@ -21,6 +21,6 @@ ...@@ -21,6 +21,6 @@
"compression": "^1.7.4", "compression": "^1.7.4",
"cypress": "^10.7.0", "cypress": "^10.7.0",
"serve-static": "^1.15.0", "serve-static": "^1.15.0",
"vite": "3.2.3" "vite": "3.2.4"
} }
} }
...@@ -16253,7 +16253,6 @@ const chooseLocation = defineAsyncApi(API_CHOOSE_LOCATION, (options, { resolve, ...@@ -16253,7 +16253,6 @@ const chooseLocation = defineAsyncApi(API_CHOOSE_LOCATION, (options, { resolve,
style: { style: {
// @ts-expect-error // @ts-expect-error
animationType: options.animationType || 'slide-in-bottom', animationType: options.animationType || 'slide-in-bottom',
// @ts-expect-error
titleNView: false, titleNView: false,
popGesture: 'close', popGesture: 'close',
scrollIndicator: 'none', scrollIndicator: 'none',
......
...@@ -24,7 +24,6 @@ export const chooseLocation = defineAsyncApi<API_TYPE_CHOOSE_LOCATION>( ...@@ -24,7 +24,6 @@ export const chooseLocation = defineAsyncApi<API_TYPE_CHOOSE_LOCATION>(
style: { style: {
// @ts-expect-error // @ts-expect-error
animationType: options.animationType || 'slide-in-bottom', animationType: options.animationType || 'slide-in-bottom',
// @ts-expect-error
titleNView: false, titleNView: false,
popGesture: 'close', popGesture: 'close',
scrollIndicator: 'none', scrollIndicator: 'none',
......
...@@ -195,7 +195,6 @@ export default /*#__PURE__*/ defineBuiltInComponent({ ...@@ -195,7 +195,6 @@ export default /*#__PURE__*/ defineBuiltInComponent({
url: '__uniapppicker', url: '__uniapppicker',
data, data,
style: { style: {
// @ts-expect-error
titleNView: false, titleNView: false,
animationType: 'none', animationType: 'none',
animationDuration: 0, animationDuration: 0,
......
...@@ -39,7 +39,7 @@ ...@@ -39,7 +39,7 @@
"@vue/compiler-core": "3.2.45", "@vue/compiler-core": "3.2.45",
"esbuild": "^0.15.9", "esbuild": "^0.15.9",
"postcss": "^8.4.16", "postcss": "^8.4.16",
"vite": "3.2.3", "vite": "3.2.4",
"vue": "3.2.45" "vue": "3.2.45"
} }
} }
...@@ -34,7 +34,7 @@ export const transformRootNode: NodeTransform = (node, context) => { ...@@ -34,7 +34,7 @@ export const transformRootNode: NodeTransform = (node, context) => {
} }
const { disableScroll, scrollIndicator } = context.bindingMetadata const { disableScroll, scrollIndicator } = context.bindingMetadata
.__pageOptions as { .__pageOptions as unknown as {
disableScroll?: boolean disableScroll?: boolean
scrollIndicator?: 'none' scrollIndicator?: 'none'
} }
......
...@@ -218,6 +218,7 @@ export function getMac() { ...@@ -218,6 +218,7 @@ export function getMac() {
} else if ( } else if (
// Node >= v18 // Node >= v18
typeof item.family === 'number' && typeof item.family === 'number' &&
// @ts-ignore
(item.family === 4 || item.family === 6) (item.family === 4 || item.family === 6)
) { ) {
mac = (item as any).mac mac = (item as any).mac
......
...@@ -138,8 +138,8 @@ export async function processSrcSet( ...@@ -138,8 +138,8 @@ export async function processSrcSet(
const [url] = imageSetUrlRE.exec(src) || [] const [url] = imageSetUrlRE.exec(src) || []
return { return {
url, url: url!,
descriptor: src?.slice(url.length).trim(), descriptor: src?.slice(url!.length).trim(),
} }
}) })
.filter(({ url }) => !!url) .filter(({ url }) => !!url)
......
...@@ -193,7 +193,6 @@ export default /*#__PURE__*/ defineComponent({ ...@@ -193,7 +193,6 @@ export default /*#__PURE__*/ defineComponent({
url: '__uniapppicker', url: '__uniapppicker',
data, data,
style: { style: {
// @ts-expect-error
titleNView: false, titleNView: false,
animationType: 'none', animationType: 'none',
animationDuration: 0, animationDuration: 0,
......
...@@ -103,6 +103,7 @@ type ShowPage = { ...@@ -103,6 +103,7 @@ type ShowPage = {
style?: PlusWebviewWebviewStyles & { style?: PlusWebviewWebviewStyles & {
animationType?: PageShow[0] animationType?: PageShow[0]
animationDuration?: PageShow[1] animationDuration?: PageShow[1]
titleNView?: PlusWebviewWebviewStyles['titleNView'] | false | 'none'
} }
onMessage?: CallBack onMessage?: CallBack
onClose: CallBack onClose: CallBack
......
...@@ -257,7 +257,7 @@ Partial<UniNodeJSON | UniNodeJSONMinify>? ...@@ -257,7 +257,7 @@ Partial<UniNodeJSON | UniNodeJSONMinify>?
export declare const invokeArrayFns: (fns: Function[], arg?: any) => any; export declare const invokeArrayFns: (fns: Function[], arg?: any) => any;
export declare const invokeCreateErrorHandler: (app: App, createErrorHandler: (app: App) => App['config']['errorHandler']) => ((err: unknown, instance: ComponentPublicInstance_2< {}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase_2<any, any, any, any, any, any, any, any, any, {}>> | null, info: string) => void) | undefined; export declare const invokeCreateErrorHandler: (app: App, createErrorHandler: (app: App) => App['config']['errorHandler']) => ((err: unknown, instance: ComponentPublicInstance_2< {}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase_2<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null, info: string) => void) | undefined;
export declare function invokeCreateVueAppHook(app: App): void; export declare function invokeCreateVueAppHook(app: App): void;
...@@ -615,11 +615,11 @@ export declare function removeLeadingSlash(str: string): string; ...@@ -615,11 +615,11 @@ export declare function removeLeadingSlash(str: string): string;
export declare const RENDERJS_MODULES = "renderjsModules"; export declare const RENDERJS_MODULES = "renderjsModules";
export declare function resolveComponentInstance(instance?: ComponentInternalInstance | ComponentPublicInstance): ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | undefined; export declare function resolveComponentInstance(instance?: ComponentInternalInstance | ComponentPublicInstance): ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | undefined;
export declare function resolveOwnerEl(instance: ComponentInternalInstance): RendererNode | null; export declare function resolveOwnerEl(instance: ComponentInternalInstance): RendererNode | null;
export declare function resolveOwnerVm(vm: ComponentInternalInstance): ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | undefined; export declare function resolveOwnerVm(vm: ComponentInternalInstance): ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | undefined;
export declare const RESPONSIVE_MIN_WIDTH = 768; export declare const RESPONSIVE_MIN_WIDTH = 768;
......
...@@ -57,11 +57,11 @@ ...@@ -57,11 +57,11 @@
"@types/sass": "^1.16.0", "@types/sass": "^1.16.0",
"@vue/babel-plugin-jsx": "^1.1.1", "@vue/babel-plugin-jsx": "^1.1.1",
"chokidar": "^3.5.3", "chokidar": "^3.5.3",
"vite": "3.2.3", "vite": "3.2.4",
"vue": "3.2.45" "vue": "3.2.45"
}, },
"peerDependencies": { "peerDependencies": {
"vite": "3.2.3" "vite": "3.2.4"
}, },
"uni-app": { "uni-app": {
"compilerVersion": "3.6.10" "compilerVersion": "3.6.10"
......
...@@ -210,6 +210,7 @@ function printServerUrls( ...@@ -210,6 +210,7 @@ function printServerUrls(
// Node < v18 // Node < v18
((typeof detail.family === 'string' && detail.family === 'IPv4') || ((typeof detail.family === 'string' && detail.family === 'IPv4') ||
// Node >= v18 // Node >= v18
// @ts-ignore
(typeof detail.family === 'number' && detail.family === 4)) (typeof detail.family === 'number' && detail.family === 4))
) )
.map((detail) => { .map((detail) => {
......
此差异已折叠。
...@@ -19,13 +19,13 @@ const pkgs = { ...@@ -19,13 +19,13 @@ const pkgs = {
latest: '4.1.0', latest: '4.1.0',
}, },
pinia: { pinia: {
latest: '2.0.23', latest: '2.0.24',
}, },
'vue-i18n': { 'vue-i18n': {
next: '9.1.9', next: '9.1.9',
}, },
vite: { vite: {
latest: '3.2.3', latest: '3.2.4',
}, },
'@vitejs/plugin-vue': { '@vitejs/plugin-vue': {
latest: '3.2.0', latest: '3.2.0',
...@@ -46,7 +46,7 @@ const pkgs = { ...@@ -46,7 +46,7 @@ const pkgs = {
latest: '3.4.0', latest: '3.4.0',
}, },
typescript: { typescript: {
latest: '4.8.4', latest: '4.9.3',
}, },
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册