Is there away to extend a third party library type with same name in TypeScript

前端 未结 0 471
醉酒成梦
醉酒成梦 2020-12-06 02:23

Luxon date library has a DateTime type. Instead of importing DateTime directly from luxon library like import { DateTime } from \'luxon\';

相关标签:
回答
  • 消灭零回复
提交回复
热议问题