diff --git a/docs/installation/typescript.md b/docs/installation/typescript.md index 4a1c38989..82ab735f6 100644 --- a/docs/installation/typescript.md +++ b/docs/installation/typescript.md @@ -28,6 +28,8 @@ If your `tsconfig.json` contains the following config, you must do the default i ``` If you don't have these config above, the default import won't work, and you'll continue to have to use `import * as dayjs from 'dayjs'` +Alternatively , you can use `import { default as dayjs } from "dayjs"` as a defult import for ts `no call singatures issue` + ### Locale and plugin import To use locale and plugin, you first need to import the targeting language and plugin.