Comments (3)
Which version are you using? Could you try using the latest canary
version which has ES Modules support?
from ms.
Which version are you using? Could you try using the latest
canary
version which has ES Modules support?
"ms": "3.0.0-canary.1",
from ms.
Ah, I think I see the issue. Your types are coming from @types/ms
, but with the 3.0 release, types are included with the ms
package directly. You can remove @types/ms
.
from ms.
Related Issues (20)
- Cannot find module 'ms' or its corresponding type declarations. (3.0.0-canary.0) HOT 4
- My code will not run after importing ms HOT 15
- Change the language HOT 2
- Release of v3.0.0 HOT 23
- TypeError: (0 , ms_1.default) is not a function HOT 4
- fix(typing): Could not find a declaration file for module 'ms'. HOT 2
- No type definitions HOT 1
- The package is just showing the time in days
- Hello
- Typing: ms with `StringValue` should not accept options HOT 1
- Can we have for Dart, should I go ahead and do it? HOT 1
- TypeError [ERR_INVALID_ARG_TYPE]: The "path" argument must be of type string. Received undefined
- Outdated version on npm
- How to use ms with French HOT 2
- Is the project still being maintained? HOT 3
- Repo link
- Publish stable version with typescript HOT 2
- ms('1y') or ms('1 year') is returning a value slightly off an actual year HOT 2
- Convert the value returned by ms() to a Date
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ms.