We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I am using utcOffset in TypeScript project, but the interface of utcOffset may be error.
dayjs() .utcOffset(timeZone) .add(4, 'y') .format(patten);
node_modules/dayjs/index.d.ts utcOffset(): number
The text was updated successfully, but these errors were encountered:
error TS2554: Expected 0 arguments, but got 1. .utcOffset(timeZone)
error TS2339: Property 'format' does not exist on type 'number'. .format(patten);
Sorry, something went wrong.
No branches or pull requests
I am using utcOffset in TypeScript project, but the interface of utcOffset may be error.
node_modules/dayjs/index.d.ts utcOffset(): number
The text was updated successfully, but these errors were encountered: