mirror of https://github.com/vuejs/core.git
fix vscode bad auto indent
This commit is contained in:
parent
7326b76bf9
commit
24c706741d
|
@ -77,17 +77,17 @@ expectType<JSX.Element>(<Empty onClick={(e: MouseEvent) => { }} />)
|
|||
|
||||
// @ts-expect-error
|
||||
expectType<JSX.Element>(<Custom />)
|
||||
// @ts-expect-error
|
||||
; <Custom bar="bar" />
|
||||
// @ts-expect-error
|
||||
; <Custom baz="baz" />
|
||||
// @ts-expect-error
|
||||
; <Custom baz={1} notExist={1} />
|
||||
// @ts-expect-error
|
||||
; <Custom baz={1} custom="custom" />
|
||||
// @ts-expect-error
|
||||
; <Custom baz={1} onClick={(e: MouseEvent) => { }} />
|
||||
// @ts-expect-error
|
||||
; <Empty baz={1} />
|
||||
// @ts-expect-error
|
||||
; <Empty onClick={(e: number) => { }} />
|
||||
// @ts-expect-error
|
||||
; <Custom bar="bar" />
|
||||
// @ts-expect-error
|
||||
; <Custom baz="baz" />
|
||||
// @ts-expect-error
|
||||
; <Custom baz={1} notExist={1} />
|
||||
// @ts-expect-error
|
||||
; <Custom baz={1} custom="custom" />
|
||||
// @ts-expect-error
|
||||
; <Custom baz={1} onClick={(e: MouseEvent) => { }} />
|
||||
// @ts-expect-error
|
||||
; <Empty baz={1} />
|
||||
// @ts-expect-error
|
||||
; <Empty onClick={(e: number) => { }} />
|
||||
|
|
|
@ -285,7 +285,7 @@ export type CreateComponentPublicInstanceWithMixins<
|
|||
export type ExposedKeys<
|
||||
T,
|
||||
Exposed extends string & keyof T,
|
||||
> = '' extends Exposed ? T : Pick<T, Exposed>
|
||||
> = '' extends Exposed ? T : Pick<T, Exposed>
|
||||
|
||||
type Override<T, U> = Omit<T, keyof U> & U
|
||||
|
||||
|
|
Loading…
Reference in New Issue