From 6546ea30eb551da8f841dd40ff1818ffd6bbd47c Mon Sep 17 00:00:00 2001 From: Karan Tewari Date: Tue, 23 Aug 2022 17:12:19 +0530 Subject: [PATCH] Update typescript.md this edit can be used to avoid the call signature issue from ts --- docs/installation/typescript.md | 2 ++ 1 file changed, 2 insertions(+) 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.