eugenetree / prisma-generator-omit-extra-fields

7 stars 1 forks source link

(hotfix) TS7053: Element implicitly has an  any  type #2

Closed nikita-yaroshevich closed 10 months ago

nikita-yaroshevich commented 11 months ago

Specify some types to fix "TS7053: Element implicitly has an  any  type because expression of type  string  can't be used to index type  {}  No index signature with a parameter of type  string  was found on type  {} "

yamatohagi commented 11 months ago

I think this is good

eugenetree commented 10 months ago

@nikita-yaroshevich thanks a lot for your contribution

While creating the generator I was working with nest and it by default had "noImplicitAny": false so this TS error was simply disabled 🙃

0.3.2 version with this change has been published to npm