Changeset 0c6b92a for imaps-frontend/node_modules/@types
- Timestamp:
- 12/12/24 17:06:06 (5 weeks ago)
- Branches:
- main
- Parents:
- d565449
- Location:
- imaps-frontend/node_modules/@types
- Files:
-
- 17 edited
Legend:
- Unmodified
- Added
- Removed
-
imaps-frontend/node_modules/@types/estree/README.md
rd565449 r0c6b92a 9 9 10 10 ### Additional Details 11 * Last updated: Mon, 06 Nov 2023 22:41:05GMT11 * Last updated: Wed, 18 Sep 2024 09:37:00 GMT 12 12 * Dependencies: none 13 13 -
imaps-frontend/node_modules/@types/estree/index.d.ts
rd565449 r0c6b92a 354 354 type: "BinaryExpression"; 355 355 operator: BinaryOperator; 356 left: Expression ;356 left: Expression | PrivateIdentifier; 357 357 right: Expression; 358 358 } … … 639 639 export interface ImportSpecifier extends BaseModuleSpecifier { 640 640 type: "ImportSpecifier"; 641 imported: Identifier ;641 imported: Identifier | Literal; 642 642 } 643 643 … … 662 662 } 663 663 664 export interface ExportSpecifier extends BaseModuleSpecifier{664 export interface ExportSpecifier extends Omit<BaseModuleSpecifier, "local"> { 665 665 type: "ExportSpecifier"; 666 exported: Identifier; 666 local: Identifier | Literal; 667 exported: Identifier | Literal; 667 668 } 668 669 … … 674 675 export interface ExportAllDeclaration extends BaseModuleDeclaration { 675 676 type: "ExportAllDeclaration"; 676 exported: Identifier | null;677 exported: Identifier | Literal | null; 677 678 source: Literal; 678 679 } -
imaps-frontend/node_modules/@types/estree/package.json
rd565449 r0c6b92a 1 1 { 2 2 "name": "@types/estree", 3 "version": "1.0. 5",3 "version": "1.0.6", 4 4 "description": "TypeScript definitions for estree", 5 5 "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/estree", … … 21 21 "scripts": {}, 22 22 "dependencies": {}, 23 "typesPublisherContentHash": " 6f0eeaffe488ce594e73f8df619c677d752a279b51edbc744e4aebb20db4b3a7",24 "typeScriptVersion": "4. 5",23 "typesPublisherContentHash": "0310b41994a6f8d7530af6c53d47d8b227f32925e43718507fdb1178e05006b1", 24 "typeScriptVersion": "4.8", 25 25 "nonNpm": true 26 26 } -
imaps-frontend/node_modules/@types/prop-types/README.md
rd565449 r0c6b92a 3 3 4 4 # Summary 5 This package contains type definitions for prop-types (https://github.com/ reactjs/prop-types).5 This package contains type definitions for prop-types (https://github.com/facebook/prop-types). 6 6 7 7 # Details … … 9 9 10 10 ### Additional Details 11 * Last updated: Fri, 22 Mar 2024 18:07:25GMT11 * Last updated: Mon, 16 Sep 2024 19:07:13 GMT 12 12 * Dependencies: none 13 13 -
imaps-frontend/node_modules/@types/prop-types/index.d.ts
rd565449 r0c6b92a 1 export type ReactComponentLike = 2 | string 3 | ((props: any, context?: any) => any) 4 | (new(props: any, context?: any) => any); 1 // eslint-disable-next-line @definitelytyped/export-just-namespace 2 export = PropTypes; 5 3 6 export interface ReactElementLike { 7 type: ReactComponentLike; 8 props: any; 9 key: string | null; 4 declare namespace PropTypes { 5 type ReactComponentLike = 6 | string 7 | ((props: any, context?: any) => any) 8 | (new(props: any, context?: any) => any); 9 10 interface ReactElementLike { 11 type: ReactComponentLike; 12 props: any; 13 key: string | null; 14 } 15 16 interface ReactNodeArray extends Iterable<ReactNodeLike> {} 17 18 type ReactNodeLike = 19 | ReactElementLike 20 | ReactNodeArray 21 | string 22 | number 23 | boolean 24 | null 25 | undefined; 26 27 const nominalTypeHack: unique symbol; 28 29 type IsOptional<T> = undefined extends T ? true : false; 30 31 type RequiredKeys<V> = { 32 [K in keyof V]-?: Exclude<V[K], undefined> extends Validator<infer T> ? IsOptional<T> extends true ? never : K 33 : never; 34 }[keyof V]; 35 type OptionalKeys<V> = Exclude<keyof V, RequiredKeys<V>>; 36 type InferPropsInner<V> = { [K in keyof V]-?: InferType<V[K]> }; 37 38 interface Validator<T> { 39 ( 40 props: { [key: string]: any }, 41 propName: string, 42 componentName: string, 43 location: string, 44 propFullName: string, 45 ): Error | null; 46 [nominalTypeHack]?: { 47 type: T; 48 } | undefined; 49 } 50 51 interface Requireable<T> extends Validator<T | undefined | null> { 52 isRequired: Validator<NonNullable<T>>; 53 } 54 55 type ValidationMap<T> = { [K in keyof T]?: Validator<T[K]> }; 56 57 /** 58 * Like {@link ValidationMap} but treats `undefined`, `null` and optional properties the same. 59 * This type is only added as a migration path in React 19 where this type was removed from React. 60 * Runtime and compile time types would mismatch since you could see `undefined` at runtime when your types don't expect this type. 61 */ 62 type WeakValidationMap<T> = { 63 [K in keyof T]?: null extends T[K] ? Validator<T[K] | null | undefined> 64 : undefined extends T[K] ? Validator<T[K] | null | undefined> 65 : Validator<T[K]>; 66 }; 67 68 type InferType<V> = V extends Validator<infer T> ? T : any; 69 type InferProps<V> = 70 & InferPropsInner<Pick<V, RequiredKeys<V>>> 71 & Partial<InferPropsInner<Pick<V, OptionalKeys<V>>>>; 72 73 const any: Requireable<any>; 74 const array: Requireable<any[]>; 75 const bool: Requireable<boolean>; 76 const func: Requireable<(...args: any[]) => any>; 77 const number: Requireable<number>; 78 const object: Requireable<object>; 79 const string: Requireable<string>; 80 const node: Requireable<ReactNodeLike>; 81 const element: Requireable<ReactElementLike>; 82 const symbol: Requireable<symbol>; 83 const elementType: Requireable<ReactComponentLike>; 84 function instanceOf<T>(expectedClass: new(...args: any[]) => T): Requireable<T>; 85 function oneOf<T>(types: readonly T[]): Requireable<T>; 86 function oneOfType<T extends Validator<any>>(types: T[]): Requireable<NonNullable<InferType<T>>>; 87 function arrayOf<T>(type: Validator<T>): Requireable<T[]>; 88 function objectOf<T>(type: Validator<T>): Requireable<{ [K in keyof any]: T }>; 89 function shape<P extends ValidationMap<any>>(type: P): Requireable<InferProps<P>>; 90 function exact<P extends ValidationMap<any>>(type: P): Requireable<Required<InferProps<P>>>; 91 92 /** 93 * Assert that the values match with the type specs. 94 * Error messages are memorized and will only be shown once. 95 * 96 * @param typeSpecs Map of name to a ReactPropType 97 * @param values Runtime values that need to be type-checked 98 * @param location e.g. "prop", "context", "child context" 99 * @param componentName Name of the component for error messages 100 * @param getStack Returns the component stack 101 */ 102 function checkPropTypes( 103 typeSpecs: any, 104 values: any, 105 location: string, 106 componentName: string, 107 getStack?: () => any, 108 ): void; 109 110 /** 111 * Only available if NODE_ENV=production 112 */ 113 function resetWarningCache(): void; 10 114 } 11 12 export interface ReactNodeArray extends Iterable<ReactNodeLike> {}13 14 export type ReactNodeLike =15 | ReactElementLike16 | ReactNodeArray17 | string18 | number19 | boolean20 | null21 | undefined;22 23 export const nominalTypeHack: unique symbol;24 25 export type IsOptional<T> = undefined extends T ? true : false;26 27 export type RequiredKeys<V> = {28 [K in keyof V]-?: Exclude<V[K], undefined> extends Validator<infer T> ? IsOptional<T> extends true ? never : K29 : never;30 }[keyof V];31 export type OptionalKeys<V> = Exclude<keyof V, RequiredKeys<V>>;32 export type InferPropsInner<V> = { [K in keyof V]-?: InferType<V[K]> };33 34 export interface Validator<T> {35 (36 props: { [key: string]: any },37 propName: string,38 componentName: string,39 location: string,40 propFullName: string,41 ): Error | null;42 [nominalTypeHack]?: {43 type: T;44 } | undefined;45 }46 47 export interface Requireable<T> extends Validator<T | undefined | null> {48 isRequired: Validator<NonNullable<T>>;49 }50 51 export type ValidationMap<T> = { [K in keyof T]?: Validator<T[K]> };52 53 /**54 * Like {@link ValidationMap} but treats `undefined`, `null` and optional properties the same.55 * This type is only added as a migration path in React 19 where this type was removed from React.56 * Runtime and compile time types would mismatch since you could see `undefined` at runtime when your types don't expect this type.57 */58 export type WeakValidationMap<T> = {59 [K in keyof T]?: null extends T[K] ? Validator<T[K] | null | undefined>60 : undefined extends T[K] ? Validator<T[K] | null | undefined>61 : Validator<T[K]>;62 };63 64 export type InferType<V> = V extends Validator<infer T> ? T : any;65 export type InferProps<V> =66 & InferPropsInner<Pick<V, RequiredKeys<V>>>67 & Partial<InferPropsInner<Pick<V, OptionalKeys<V>>>>;68 69 export const any: Requireable<any>;70 export const array: Requireable<any[]>;71 export const bool: Requireable<boolean>;72 export const func: Requireable<(...args: any[]) => any>;73 export const number: Requireable<number>;74 export const object: Requireable<object>;75 export const string: Requireable<string>;76 export const node: Requireable<ReactNodeLike>;77 export const element: Requireable<ReactElementLike>;78 export const symbol: Requireable<symbol>;79 export const elementType: Requireable<ReactComponentLike>;80 export function instanceOf<T>(expectedClass: new(...args: any[]) => T): Requireable<T>;81 export function oneOf<T>(types: readonly T[]): Requireable<T>;82 export function oneOfType<T extends Validator<any>>(types: T[]): Requireable<NonNullable<InferType<T>>>;83 export function arrayOf<T>(type: Validator<T>): Requireable<T[]>;84 export function objectOf<T>(type: Validator<T>): Requireable<{ [K in keyof any]: T }>;85 export function shape<P extends ValidationMap<any>>(type: P): Requireable<InferProps<P>>;86 export function exact<P extends ValidationMap<any>>(type: P): Requireable<Required<InferProps<P>>>;87 88 /**89 * Assert that the values match with the type specs.90 * Error messages are memorized and will only be shown once.91 *92 * @param typeSpecs Map of name to a ReactPropType93 * @param values Runtime values that need to be type-checked94 * @param location e.g. "prop", "context", "child context"95 * @param componentName Name of the component for error messages96 * @param getStack Returns the component stack97 */98 export function checkPropTypes(99 typeSpecs: any,100 values: any,101 location: string,102 componentName: string,103 getStack?: () => any,104 ): void;105 106 /**107 * Only available if NODE_ENV=production108 */109 export function resetWarningCache(): void; -
imaps-frontend/node_modules/@types/prop-types/package.json
rd565449 r0c6b92a 1 1 { 2 2 "name": "@types/prop-types", 3 "version": "15.7.1 2",3 "version": "15.7.13", 4 4 "description": "TypeScript definitions for prop-types", 5 5 "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/prop-types", … … 31 31 "scripts": {}, 32 32 "dependencies": {}, 33 "typesPublisherContentHash": " 9f43a310cba2ddc63b5ca98d9cce503eaead853f72f038eb5c29c623dc2c01b6",34 "typeScriptVersion": "4. 7"33 "typesPublisherContentHash": "463997a2d1b4bb7e18554d9d12146cc74169e8bda6a4b9008306c38797ae14d3", 34 "typeScriptVersion": "4.8" 35 35 } -
imaps-frontend/node_modules/@types/react-dom/README.md
rd565449 r0c6b92a 9 9 10 10 ### Additional Details 11 * Last updated: Thu, 25 Apr 2024 20:07:03GMT11 * Last updated: Fri, 11 Oct 2024 14:37:45 GMT 12 12 * Dependencies: [@types/react](https://npmjs.com/package/@types/react) 13 13 -
imaps-frontend/node_modules/@types/react-dom/index.d.ts
rd565449 r0c6b92a 12 12 DOMElement, 13 13 FunctionComponentElement, 14 Key, 14 15 ReactElement, 15 16 ReactInstance, … … 30 31 children: ReactNode, 31 32 container: Element | DocumentFragment, 32 key?: null | string,33 key?: Key | null, 33 34 ): ReactPortal; 34 35 -
imaps-frontend/node_modules/@types/react-dom/package.json
rd565449 r0c6b92a 1 1 { 2 2 "name": "@types/react-dom", 3 "version": "18.3. 0",3 "version": "18.3.1", 4 4 "description": "TypeScript definitions for react-dom", 5 5 "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react-dom", … … 83 83 "@types/react": "*" 84 84 }, 85 "typesPublisherContentHash": " 6e701783391e040466f55ff67d4efe35c3cbc5868b0a0937f1dfb8f63fce36fc",86 "typeScriptVersion": "4. 7"85 "typesPublisherContentHash": "a3dae397f083f79a977be3366dd86cfbcb7da67ad0089da69419978000ba6764", 86 "typeScriptVersion": "4.8" 87 87 } -
imaps-frontend/node_modules/@types/react/README.md
rd565449 r0c6b92a 9 9 10 10 ### Additional Details 11 * Last updated: Thu, 23 May 2024 20:07:44GMT11 * Last updated: Wed, 23 Oct 2024 03:36:41 GMT 12 12 * Dependencies: [@types/prop-types](https://npmjs.com/package/@types/prop-types), [csstype](https://npmjs.com/package/csstype) 13 13 14 14 # Credits 15 These definitions were written by [Asana](https://asana.com), [AssureSign](http://www.assuresign.com), [Microsoft](https://microsoft.com), [John Reilly](https://github.com/johnnyreilly), [Benoit Benezech](https://github.com/bbenezech), [Patricio Zavolinsky](https://github.com/pzavolinsky), [Eric Anderson](https://github.com/ericanderson), [Dovydas Navickas](https://github.com/DovydasNavickas), [Josh Rutherford](https://github.com/theruther4d), [Guilherme Hübner](https://github.com/guilhermehubner), [Ferdy Budhidharma](https://github.com/ferdaber), [Johann Rakotoharisoa](https://github.com/jrakotoharisoa), [Olivier Pascal](https://github.com/pascaloliv), [Martin Hochel](https://github.com/hotell), [Frank Li](https://github.com/franklixuefei), [Jessica Franco](https://github.com/Jessidhia), [Saransh Kataria](https://github.com/saranshkataria), [Kanitkorn Sujautra](https://github.com/lukyth), [Sebastian Silbermann](https://github.com/eps1lon), [Kyle Scully](https://github.com/zieka), [Cong Zhang](https://github.com/dancerphil), [Dimitri Mitropoulos](https://github.com/dimitropoulos), [JongChan Choi](https://github.com/disjukr), [Victor Magalhães](https://github.com/vhfmag), [ Dale Tan](https://github.com/hellatan), [Priyanshu Rav](https://github.com/priyanshurav), [Dmitry Semigradsky](https://github.com/Semigradsky), and [Matt Pocock](https://github.com/mattpocock).15 These definitions were written by [Asana](https://asana.com), [AssureSign](http://www.assuresign.com), [Microsoft](https://microsoft.com), [John Reilly](https://github.com/johnnyreilly), [Benoit Benezech](https://github.com/bbenezech), [Patricio Zavolinsky](https://github.com/pzavolinsky), [Eric Anderson](https://github.com/ericanderson), [Dovydas Navickas](https://github.com/DovydasNavickas), [Josh Rutherford](https://github.com/theruther4d), [Guilherme Hübner](https://github.com/guilhermehubner), [Ferdy Budhidharma](https://github.com/ferdaber), [Johann Rakotoharisoa](https://github.com/jrakotoharisoa), [Olivier Pascal](https://github.com/pascaloliv), [Martin Hochel](https://github.com/hotell), [Frank Li](https://github.com/franklixuefei), [Jessica Franco](https://github.com/Jessidhia), [Saransh Kataria](https://github.com/saranshkataria), [Kanitkorn Sujautra](https://github.com/lukyth), [Sebastian Silbermann](https://github.com/eps1lon), [Kyle Scully](https://github.com/zieka), [Cong Zhang](https://github.com/dancerphil), [Dimitri Mitropoulos](https://github.com/dimitropoulos), [JongChan Choi](https://github.com/disjukr), [Victor Magalhães](https://github.com/vhfmag), [Priyanshu Rav](https://github.com/priyanshurav), [Dmitry Semigradsky](https://github.com/Semigradsky), and [Matt Pocock](https://github.com/mattpocock). -
imaps-frontend/node_modules/@types/react/canary.d.ts
rd565449 r0c6b92a 62 62 ): ServerContext<T>; 63 63 64 // eslint-disable-next-line @typescript-eslint/ ban-types64 // eslint-disable-next-line @typescript-eslint/no-unsafe-function-type 65 65 export function cache<CachedFunction extends Function>(fn: CachedFunction): CachedFunction; 66 66 … … 68 68 69 69 interface DO_NOT_USE_OR_YOU_WILL_BE_FIRED_EXPERIMENTAL_FORM_ACTIONS { 70 functions: (formData: FormData) => void ;70 functions: (formData: FormData) => void | Promise<void>; 71 71 } 72 72 … … 137 137 } 138 138 139 interface LinkHTMLAttributes<T> { 140 precedence?: string | undefined; 141 } 142 143 interface StyleHTMLAttributes<T> { 144 href?: string | undefined; 145 precedence?: string | undefined; 146 } 147 139 148 /** 140 149 * @internal Use `Awaited<ReactNode>` instead -
imaps-frontend/node_modules/@types/react/experimental.d.ts
rd565449 r0c6b92a 107 107 export const unstable_SuspenseList: ExoticComponent<SuspenseListProps>; 108 108 109 // eslint-disable-next-line @typescript-eslint/ ban-types109 // eslint-disable-next-line @typescript-eslint/no-unsafe-function-type 110 110 export function experimental_useEffectEvent<T extends Function>(event: T): T; 111 111 -
imaps-frontend/node_modules/@types/react/index.d.ts
rd565449 r0c6b92a 849 849 /** A fallback react tree to show when a Suspense child (like React.lazy) suspends */ 850 850 fallback?: ReactNode; 851 852 /** 853 * A name for this Suspense boundary for instrumentation purposes. 854 * The name will help identify this boundary in React DevTools. 855 */ 856 name?: string | undefined; 851 857 } 852 858 … … 1598 1604 */ 1599 1605 function forwardRef<T, P = {}>( 1600 render: ForwardRefRenderFunction<T, P >,1606 render: ForwardRefRenderFunction<T, PropsWithoutRef<P>>, 1601 1607 ): ForwardRefExoticComponent<PropsWithoutRef<P> & RefAttributes<T>>; 1602 1608 … … 2052 2058 // A specific function type would not trigger implicit any. 2053 2059 // See https://github.com/DefinitelyTyped/DefinitelyTyped/issues/52873#issuecomment-845806435 for a comparison between `Function` and more specific types. 2054 // eslint-disable-next-line @typescript-eslint/ ban-types2060 // eslint-disable-next-line @typescript-eslint/no-unsafe-function-type 2055 2061 function useCallback<T extends Function>(callback: T, deps: DependencyList): T; 2056 2062 /** … … 2429 2435 onKeyDown?: KeyboardEventHandler<T> | undefined; 2430 2436 onKeyDownCapture?: KeyboardEventHandler<T> | undefined; 2431 /** @deprecated */2437 /** @deprecated Use `onKeyUp` or `onKeyDown` instead */ 2432 2438 onKeyPress?: KeyboardEventHandler<T> | undefined; 2433 /** @deprecated */2439 /** @deprecated Use `onKeyUpCapture` or `onKeyDownCapture` instead */ 2434 2440 onKeyPressCapture?: KeyboardEventHandler<T> | undefined; 2435 2441 onKeyUp?: KeyboardEventHandler<T> | undefined; … … 2894 2900 // Standard HTML Attributes 2895 2901 accessKey?: string | undefined; 2902 autoCapitalize?: "off" | "none" | "on" | "sentences" | "words" | "characters" | undefined | (string & {}); 2896 2903 autoFocus?: boolean | undefined; 2897 2904 className?: string | undefined; … … 2900 2907 dir?: string | undefined; 2901 2908 draggable?: Booleanish | undefined; 2909 enterKeyHint?: "enter" | "done" | "go" | "next" | "previous" | "search" | "send" | undefined; 2902 2910 hidden?: boolean | undefined; 2903 2911 id?: string | undefined; … … 2931 2939 2932 2940 // Non-standard Attributes 2933 autoCapitalize?: string | undefined;2934 2941 autoCorrect?: string | undefined; 2935 2942 autoSave?: string | undefined; … … 3355 3362 checked?: boolean | undefined; 3356 3363 disabled?: boolean | undefined; 3357 enterKeyHint?: "enter" | "done" | "go" | "next" | "previous" | "search" | "send" | undefined;3358 3364 form?: string | undefined; 3359 3365 formAction?: -
imaps-frontend/node_modules/@types/react/package.json
rd565449 r0c6b92a 1 1 { 2 2 "name": "@types/react", 3 "version": "18.3. 3",3 "version": "18.3.12", 4 4 "description": "TypeScript definitions for react", 5 5 "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react", … … 122 122 "githubUsername": "vhfmag", 123 123 "url": "https://github.com/vhfmag" 124 },125 {126 "name": "Dale Tan",127 "githubUsername": "hellatan",128 "url": "https://github.com/hellatan"129 124 }, 130 125 { … … 206 201 "csstype": "^3.0.2" 207 202 }, 208 "typesPublisherContentHash": "3cc8f3bf94770c52e6e4401f9fccd98a4cf92d22ce46fe76f74f3935593928b6", 209 "typeScriptVersion": "4.7" 203 "peerDependencies": {}, 204 "typesPublisherContentHash": "d59942da5433cf6c9d66442070074fa48ef9c823a4175da6e4d183d0a70ccc72", 205 "typeScriptVersion": "4.8" 210 206 } -
imaps-frontend/node_modules/@types/react/ts5.0/canary.d.ts
rd565449 r0c6b92a 62 62 ): ServerContext<T>; 63 63 64 // eslint-disable-next-line @typescript-eslint/ ban-types64 // eslint-disable-next-line @typescript-eslint/no-unsafe-function-type 65 65 export function cache<CachedFunction extends Function>(fn: CachedFunction): CachedFunction; 66 66 … … 68 68 69 69 interface DO_NOT_USE_OR_YOU_WILL_BE_FIRED_EXPERIMENTAL_FORM_ACTIONS { 70 functions: (formData: FormData) => void ;70 functions: (formData: FormData) => void | Promise<void>; 71 71 } 72 72 … … 137 137 } 138 138 139 interface LinkHTMLAttributes<T> { 140 precedence?: string | undefined; 141 } 142 143 interface StyleHTMLAttributes<T> { 144 href?: string | undefined; 145 precedence?: string | undefined; 146 } 147 139 148 /** 140 149 * @internal Use `Awaited<ReactNode>` instead -
imaps-frontend/node_modules/@types/react/ts5.0/experimental.d.ts
rd565449 r0c6b92a 107 107 export const unstable_SuspenseList: ExoticComponent<SuspenseListProps>; 108 108 109 // eslint-disable-next-line @typescript-eslint/ ban-types109 // eslint-disable-next-line @typescript-eslint/no-unsafe-function-type 110 110 export function experimental_useEffectEvent<T extends Function>(event: T): T; 111 111 -
imaps-frontend/node_modules/@types/react/ts5.0/index.d.ts
rd565449 r0c6b92a 850 850 /** A fallback react tree to show when a Suspense child (like React.lazy) suspends */ 851 851 fallback?: ReactNode; 852 853 /** 854 * A name for this Suspense boundary for instrumentation purposes. 855 * The name will help identify this boundary in React DevTools. 856 */ 857 name?: string | undefined; 852 858 } 853 859 … … 1599 1605 */ 1600 1606 function forwardRef<T, P = {}>( 1601 render: ForwardRefRenderFunction<T, P >,1607 render: ForwardRefRenderFunction<T, PropsWithoutRef<P>>, 1602 1608 ): ForwardRefExoticComponent<PropsWithoutRef<P> & RefAttributes<T>>; 1603 1609 … … 2053 2059 // A specific function type would not trigger implicit any. 2054 2060 // See https://github.com/DefinitelyTyped/DefinitelyTyped/issues/52873#issuecomment-845806435 for a comparison between `Function` and more specific types. 2055 // eslint-disable-next-line @typescript-eslint/ ban-types2061 // eslint-disable-next-line @typescript-eslint/no-unsafe-function-type 2056 2062 function useCallback<T extends Function>(callback: T, deps: DependencyList): T; 2057 2063 /** … … 2430 2436 onKeyDown?: KeyboardEventHandler<T> | undefined; 2431 2437 onKeyDownCapture?: KeyboardEventHandler<T> | undefined; 2432 /** @deprecated */2438 /** @deprecated Use `onKeyUp` or `onKeyDown` instead */ 2433 2439 onKeyPress?: KeyboardEventHandler<T> | undefined; 2434 /** @deprecated */2440 /** @deprecated Use `onKeyUpCapture` or `onKeyDownCapture` instead */ 2435 2441 onKeyPressCapture?: KeyboardEventHandler<T> | undefined; 2436 2442 onKeyUp?: KeyboardEventHandler<T> | undefined; … … 2895 2901 // Standard HTML Attributes 2896 2902 accessKey?: string | undefined; 2903 autoCapitalize?: "off" | "none" | "on" | "sentences" | "words" | "characters" | undefined | (string & {}); 2897 2904 autoFocus?: boolean | undefined; 2898 2905 className?: string | undefined; … … 2901 2908 dir?: string | undefined; 2902 2909 draggable?: Booleanish | undefined; 2910 enterKeyHint?: "enter" | "done" | "go" | "next" | "previous" | "search" | "send" | undefined; 2903 2911 hidden?: boolean | undefined; 2904 2912 id?: string | undefined; … … 2932 2940 2933 2941 // Non-standard Attributes 2934 autoCapitalize?: string | undefined;2935 2942 autoCorrect?: string | undefined; 2936 2943 autoSave?: string | undefined; … … 3356 3363 checked?: boolean | undefined; 3357 3364 disabled?: boolean | undefined; 3358 enterKeyHint?: "enter" | "done" | "go" | "next" | "previous" | "search" | "send" | undefined;3359 3365 form?: string | undefined; 3360 3366 formAction?:
Note:
See TracChangeset
for help on using the changeset viewer.