Skip to content

Lint error in LowercaseObjectKeys.d.t #8

@cfficaurzua

Description

@cfficaurzua

Hi, I got a lint error in the types definition.

./node_modules/form-data-encoder/@type/util/LowercaseObjectKeys.d.ts:3:19 - error TS1005: ']' expected.

3     [K in keyof T as K extends string ? Lowercase<K> : K]: T[K];
                    ~~

../node_modules/form-data-encoder/@type/util/LowercaseObjectKeys.d.ts:3:22 - error TS1005: ';' expected.

3     [K in keyof T as K extends string ? Lowercase<K> : K]: T[K];
                       ~

../node_modules/form-data-encoder/@type/util/LowercaseObjectKeys.d.ts:3:24 - error TS1005: ';' expected.

3     [K in keyof T as K extends string ? Lowercase<K> : K]: T[K];
                         ~~~~~~~

../node_modules/form-data-encoder/@type/util/LowercaseObjectKeys.d.ts:3:54 - error TS1005: '(' expected.

3     [K in keyof T as K extends string ? Lowercase<K> : K]: T[K];
                                                       ~

../node_modules/form-data-encoder/@type/util/LowercaseObjectKeys.d.ts:3:57 - error TS1005: ',' expected.

3     [K in keyof T as K extends string ? Lowercase<K> : K]: T[K];
                                                          ~

../node_modules/form-data-encoder/@type/util/LowercaseObjectKeys.d.ts:3:58 - error TS1135: Argument expression expected.

3     [K in keyof T as K extends string ? Lowercase<K> : K]: T[K];
                                                           ~

../node_modules/form-data-encoder/@type/util/LowercaseObjectKeys.d.ts:3:64 - error TS1005: ')' expected.

3     [K in keyof T as K extends string ? Lowercase<K> : K]: T[K];
                                                                 ~

../node_modules/form-data-encoder/@type/util/LowercaseObjectKeys.d.ts:4:1 - error TS1128: Declaration or statement expected.

4 };
  ~


Found 8 errors.

tsc version = Version 4.7.4

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions