This repository has been archived by the owner on Jul 7, 2021. It is now read-only.
Type inference for dayjs.utc #110
Labels
Type: Bug
The issue relates to broken or incorrect behaviour.
Got an error when using this library in a TypeScript project:
Current Behavior
The TS compiler does not handle the prototype change by the plugin:
https://unpkg.com/browse/@arkecosystem/platform-sdk@0.3.6/dist/utils/dayjs.d.ts
Possible Solution
Importing the type explicitly in
tsconfig.json
solved it on the client:The text was updated successfully, but these errors were encountered: