Ignore:
Timestamp:
12/12/24 17:06:06 (5 weeks ago)
Author:
stefan toskovski <stefantoska84@…>
Branches:
main
Parents:
d565449
Message:

Pred finalna verzija

Location:
imaps-frontend/node_modules/@types
Files:
17 edited

Legend:

Unmodified
Added
Removed
  • imaps-frontend/node_modules/@types/estree/README.md

    rd565449 r0c6b92a  
    99
    1010### Additional Details
    11  * Last updated: Mon, 06 Nov 2023 22:41:05 GMT
     11 * Last updated: Wed, 18 Sep 2024 09:37:00 GMT
    1212 * Dependencies: none
    1313
  • imaps-frontend/node_modules/@types/estree/index.d.ts

    rd565449 r0c6b92a  
    354354    type: "BinaryExpression";
    355355    operator: BinaryOperator;
    356     left: Expression;
     356    left: Expression | PrivateIdentifier;
    357357    right: Expression;
    358358}
     
    639639export interface ImportSpecifier extends BaseModuleSpecifier {
    640640    type: "ImportSpecifier";
    641     imported: Identifier;
     641    imported: Identifier | Literal;
    642642}
    643643
     
    662662}
    663663
    664 export interface ExportSpecifier extends BaseModuleSpecifier {
     664export interface ExportSpecifier extends Omit<BaseModuleSpecifier, "local"> {
    665665    type: "ExportSpecifier";
    666     exported: Identifier;
     666    local: Identifier | Literal;
     667    exported: Identifier | Literal;
    667668}
    668669
     
    674675export interface ExportAllDeclaration extends BaseModuleDeclaration {
    675676    type: "ExportAllDeclaration";
    676     exported: Identifier | null;
     677    exported: Identifier | Literal | null;
    677678    source: Literal;
    678679}
  • imaps-frontend/node_modules/@types/estree/package.json

    rd565449 r0c6b92a  
    11{
    22    "name": "@types/estree",
    3     "version": "1.0.5",
     3    "version": "1.0.6",
    44    "description": "TypeScript definitions for estree",
    55    "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/estree",
     
    2121    "scripts": {},
    2222    "dependencies": {},
    23     "typesPublisherContentHash": "6f0eeaffe488ce594e73f8df619c677d752a279b51edbc744e4aebb20db4b3a7",
    24     "typeScriptVersion": "4.5",
     23    "typesPublisherContentHash": "0310b41994a6f8d7530af6c53d47d8b227f32925e43718507fdb1178e05006b1",
     24    "typeScriptVersion": "4.8",
    2525    "nonNpm": true
    2626}
  • imaps-frontend/node_modules/@types/prop-types/README.md

    rd565449 r0c6b92a  
    33
    44# Summary
    5 This package contains type definitions for prop-types (https://github.com/reactjs/prop-types).
     5This package contains type definitions for prop-types (https://github.com/facebook/prop-types).
    66
    77# Details
     
    99
    1010### Additional Details
    11  * Last updated: Fri, 22 Mar 2024 18:07:25 GMT
     11 * Last updated: Mon, 16 Sep 2024 19:07:13 GMT
    1212 * Dependencies: none
    1313
  • 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
     2export = PropTypes;
    53
    6 export interface ReactElementLike {
    7     type: ReactComponentLike;
    8     props: any;
    9     key: string | null;
     4declare 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;
    10114}
    11 
    12 export interface ReactNodeArray extends Iterable<ReactNodeLike> {}
    13 
    14 export type ReactNodeLike =
    15     | ReactElementLike
    16     | ReactNodeArray
    17     | string
    18     | number
    19     | boolean
    20     | null
    21     | 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 : K
    29         : 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 ReactPropType
    93  * @param values Runtime values that need to be type-checked
    94  * @param location e.g. "prop", "context", "child context"
    95  * @param componentName Name of the component for error messages
    96  * @param getStack Returns the component stack
    97  */
    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=production
    108  */
    109 export function resetWarningCache(): void;
  • imaps-frontend/node_modules/@types/prop-types/package.json

    rd565449 r0c6b92a  
    11{
    22    "name": "@types/prop-types",
    3     "version": "15.7.12",
     3    "version": "15.7.13",
    44    "description": "TypeScript definitions for prop-types",
    55    "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/prop-types",
     
    3131    "scripts": {},
    3232    "dependencies": {},
    33     "typesPublisherContentHash": "9f43a310cba2ddc63b5ca98d9cce503eaead853f72f038eb5c29c623dc2c01b6",
    34     "typeScriptVersion": "4.7"
     33    "typesPublisherContentHash": "463997a2d1b4bb7e18554d9d12146cc74169e8bda6a4b9008306c38797ae14d3",
     34    "typeScriptVersion": "4.8"
    3535}
  • imaps-frontend/node_modules/@types/react-dom/README.md

    rd565449 r0c6b92a  
    99
    1010### Additional Details
    11  * Last updated: Thu, 25 Apr 2024 20:07:03 GMT
     11 * Last updated: Fri, 11 Oct 2024 14:37:45 GMT
    1212 * Dependencies: [@types/react](https://npmjs.com/package/@types/react)
    1313
  • imaps-frontend/node_modules/@types/react-dom/index.d.ts

    rd565449 r0c6b92a  
    1212    DOMElement,
    1313    FunctionComponentElement,
     14    Key,
    1415    ReactElement,
    1516    ReactInstance,
     
    3031    children: ReactNode,
    3132    container: Element | DocumentFragment,
    32     key?: null | string,
     33    key?: Key | null,
    3334): ReactPortal;
    3435
  • imaps-frontend/node_modules/@types/react-dom/package.json

    rd565449 r0c6b92a  
    11{
    22    "name": "@types/react-dom",
    3     "version": "18.3.0",
     3    "version": "18.3.1",
    44    "description": "TypeScript definitions for react-dom",
    55    "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react-dom",
     
    8383        "@types/react": "*"
    8484    },
    85     "typesPublisherContentHash": "6e701783391e040466f55ff67d4efe35c3cbc5868b0a0937f1dfb8f63fce36fc",
    86     "typeScriptVersion": "4.7"
     85    "typesPublisherContentHash": "a3dae397f083f79a977be3366dd86cfbcb7da67ad0089da69419978000ba6764",
     86    "typeScriptVersion": "4.8"
    8787}
  • imaps-frontend/node_modules/@types/react/README.md

    rd565449 r0c6b92a  
    99
    1010### Additional Details
    11  * Last updated: Thu, 23 May 2024 20:07:44 GMT
     11 * Last updated: Wed, 23 Oct 2024 03:36:41 GMT
    1212 * Dependencies: [@types/prop-types](https://npmjs.com/package/@types/prop-types), [csstype](https://npmjs.com/package/csstype)
    1313
    1414# 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).
     15These 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  
    6262    ): ServerContext<T>;
    6363
    64     // eslint-disable-next-line @typescript-eslint/ban-types
     64    // eslint-disable-next-line @typescript-eslint/no-unsafe-function-type
    6565    export function cache<CachedFunction extends Function>(fn: CachedFunction): CachedFunction;
    6666
     
    6868
    6969    interface DO_NOT_USE_OR_YOU_WILL_BE_FIRED_EXPERIMENTAL_FORM_ACTIONS {
    70         functions: (formData: FormData) => void;
     70        functions: (formData: FormData) => void | Promise<void>;
    7171    }
    7272
     
    137137    }
    138138
     139    interface LinkHTMLAttributes<T> {
     140        precedence?: string | undefined;
     141    }
     142
     143    interface StyleHTMLAttributes<T> {
     144        href?: string | undefined;
     145        precedence?: string | undefined;
     146    }
     147
    139148    /**
    140149     * @internal Use `Awaited<ReactNode>` instead
  • imaps-frontend/node_modules/@types/react/experimental.d.ts

    rd565449 r0c6b92a  
    107107    export const unstable_SuspenseList: ExoticComponent<SuspenseListProps>;
    108108
    109     // eslint-disable-next-line @typescript-eslint/ban-types
     109    // eslint-disable-next-line @typescript-eslint/no-unsafe-function-type
    110110    export function experimental_useEffectEvent<T extends Function>(event: T): T;
    111111
  • imaps-frontend/node_modules/@types/react/index.d.ts

    rd565449 r0c6b92a  
    849849        /** A fallback react tree to show when a Suspense child (like React.lazy) suspends */
    850850        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;
    851857    }
    852858
     
    15981604     */
    15991605    function forwardRef<T, P = {}>(
    1600         render: ForwardRefRenderFunction<T, P>,
     1606        render: ForwardRefRenderFunction<T, PropsWithoutRef<P>>,
    16011607    ): ForwardRefExoticComponent<PropsWithoutRef<P> & RefAttributes<T>>;
    16021608
     
    20522058    // A specific function type would not trigger implicit any.
    20532059    // 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-types
     2060    // eslint-disable-next-line @typescript-eslint/no-unsafe-function-type
    20552061    function useCallback<T extends Function>(callback: T, deps: DependencyList): T;
    20562062    /**
     
    24292435        onKeyDown?: KeyboardEventHandler<T> | undefined;
    24302436        onKeyDownCapture?: KeyboardEventHandler<T> | undefined;
    2431         /** @deprecated */
     2437        /** @deprecated Use `onKeyUp` or `onKeyDown` instead */
    24322438        onKeyPress?: KeyboardEventHandler<T> | undefined;
    2433         /** @deprecated */
     2439        /** @deprecated Use `onKeyUpCapture` or `onKeyDownCapture` instead */
    24342440        onKeyPressCapture?: KeyboardEventHandler<T> | undefined;
    24352441        onKeyUp?: KeyboardEventHandler<T> | undefined;
     
    28942900        // Standard HTML Attributes
    28952901        accessKey?: string | undefined;
     2902        autoCapitalize?: "off" | "none" | "on" | "sentences" | "words" | "characters" | undefined | (string & {});
    28962903        autoFocus?: boolean | undefined;
    28972904        className?: string | undefined;
     
    29002907        dir?: string | undefined;
    29012908        draggable?: Booleanish | undefined;
     2909        enterKeyHint?: "enter" | "done" | "go" | "next" | "previous" | "search" | "send" | undefined;
    29022910        hidden?: boolean | undefined;
    29032911        id?: string | undefined;
     
    29312939
    29322940        // Non-standard Attributes
    2933         autoCapitalize?: string | undefined;
    29342941        autoCorrect?: string | undefined;
    29352942        autoSave?: string | undefined;
     
    33553362        checked?: boolean | undefined;
    33563363        disabled?: boolean | undefined;
    3357         enterKeyHint?: "enter" | "done" | "go" | "next" | "previous" | "search" | "send" | undefined;
    33583364        form?: string | undefined;
    33593365        formAction?:
  • imaps-frontend/node_modules/@types/react/package.json

    rd565449 r0c6b92a  
    11{
    22    "name": "@types/react",
    3     "version": "18.3.3",
     3    "version": "18.3.12",
    44    "description": "TypeScript definitions for react",
    55    "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react",
     
    122122            "githubUsername": "vhfmag",
    123123            "url": "https://github.com/vhfmag"
    124         },
    125         {
    126             "name": "Dale Tan",
    127             "githubUsername": "hellatan",
    128             "url": "https://github.com/hellatan"
    129124        },
    130125        {
     
    206201        "csstype": "^3.0.2"
    207202    },
    208     "typesPublisherContentHash": "3cc8f3bf94770c52e6e4401f9fccd98a4cf92d22ce46fe76f74f3935593928b6",
    209     "typeScriptVersion": "4.7"
     203    "peerDependencies": {},
     204    "typesPublisherContentHash": "d59942da5433cf6c9d66442070074fa48ef9c823a4175da6e4d183d0a70ccc72",
     205    "typeScriptVersion": "4.8"
    210206}
  • imaps-frontend/node_modules/@types/react/ts5.0/canary.d.ts

    rd565449 r0c6b92a  
    6262    ): ServerContext<T>;
    6363
    64     // eslint-disable-next-line @typescript-eslint/ban-types
     64    // eslint-disable-next-line @typescript-eslint/no-unsafe-function-type
    6565    export function cache<CachedFunction extends Function>(fn: CachedFunction): CachedFunction;
    6666
     
    6868
    6969    interface DO_NOT_USE_OR_YOU_WILL_BE_FIRED_EXPERIMENTAL_FORM_ACTIONS {
    70         functions: (formData: FormData) => void;
     70        functions: (formData: FormData) => void | Promise<void>;
    7171    }
    7272
     
    137137    }
    138138
     139    interface LinkHTMLAttributes<T> {
     140        precedence?: string | undefined;
     141    }
     142
     143    interface StyleHTMLAttributes<T> {
     144        href?: string | undefined;
     145        precedence?: string | undefined;
     146    }
     147
    139148    /**
    140149     * @internal Use `Awaited<ReactNode>` instead
  • imaps-frontend/node_modules/@types/react/ts5.0/experimental.d.ts

    rd565449 r0c6b92a  
    107107    export const unstable_SuspenseList: ExoticComponent<SuspenseListProps>;
    108108
    109     // eslint-disable-next-line @typescript-eslint/ban-types
     109    // eslint-disable-next-line @typescript-eslint/no-unsafe-function-type
    110110    export function experimental_useEffectEvent<T extends Function>(event: T): T;
    111111
  • imaps-frontend/node_modules/@types/react/ts5.0/index.d.ts

    rd565449 r0c6b92a  
    850850        /** A fallback react tree to show when a Suspense child (like React.lazy) suspends */
    851851        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;
    852858    }
    853859
     
    15991605     */
    16001606    function forwardRef<T, P = {}>(
    1601         render: ForwardRefRenderFunction<T, P>,
     1607        render: ForwardRefRenderFunction<T, PropsWithoutRef<P>>,
    16021608    ): ForwardRefExoticComponent<PropsWithoutRef<P> & RefAttributes<T>>;
    16031609
     
    20532059    // A specific function type would not trigger implicit any.
    20542060    // 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-types
     2061    // eslint-disable-next-line @typescript-eslint/no-unsafe-function-type
    20562062    function useCallback<T extends Function>(callback: T, deps: DependencyList): T;
    20572063    /**
     
    24302436        onKeyDown?: KeyboardEventHandler<T> | undefined;
    24312437        onKeyDownCapture?: KeyboardEventHandler<T> | undefined;
    2432         /** @deprecated */
     2438        /** @deprecated Use `onKeyUp` or `onKeyDown` instead */
    24332439        onKeyPress?: KeyboardEventHandler<T> | undefined;
    2434         /** @deprecated */
     2440        /** @deprecated Use `onKeyUpCapture` or `onKeyDownCapture` instead */
    24352441        onKeyPressCapture?: KeyboardEventHandler<T> | undefined;
    24362442        onKeyUp?: KeyboardEventHandler<T> | undefined;
     
    28952901        // Standard HTML Attributes
    28962902        accessKey?: string | undefined;
     2903        autoCapitalize?: "off" | "none" | "on" | "sentences" | "words" | "characters" | undefined | (string & {});
    28972904        autoFocus?: boolean | undefined;
    28982905        className?: string | undefined;
     
    29012908        dir?: string | undefined;
    29022909        draggable?: Booleanish | undefined;
     2910        enterKeyHint?: "enter" | "done" | "go" | "next" | "previous" | "search" | "send" | undefined;
    29032911        hidden?: boolean | undefined;
    29042912        id?: string | undefined;
     
    29322940
    29332941        // Non-standard Attributes
    2934         autoCapitalize?: string | undefined;
    29352942        autoCorrect?: string | undefined;
    29362943        autoSave?: string | undefined;
     
    33563363        checked?: boolean | undefined;
    33573364        disabled?: boolean | undefined;
    3358         enterKeyHint?: "enter" | "done" | "go" | "next" | "previous" | "search" | "send" | undefined;
    33593365        form?: string | undefined;
    33603366        formAction?:
Note: See TracChangeset for help on using the changeset viewer.