import-fresh
Advanced tools
Comparing version 3.2.2 to 3.3.0
@@ -24,6 +24,8 @@ /** | ||
//=> 1 | ||
const foo = importFresh<typeof import('./foo')>('./foo'); | ||
``` | ||
*/ | ||
declare function importFresh(moduleId: string): unknown; | ||
declare function importFresh<T>(moduleId: string): T; | ||
export = importFresh; |
{ | ||
"name": "import-fresh", | ||
"version": "3.2.2", | ||
"version": "3.3.0", | ||
"description": "Import a module while bypassing the cache", | ||
"license": "MIT", | ||
"repository": "sindresorhus/import-fresh", | ||
"funding": "https://github.com/sponsors/sindresorhus", | ||
"author": { | ||
"name": "Sindre Sorhus", | ||
"email": "sindresorhus@gmail.com", | ||
"url": "sindresorhus.com" | ||
"url": "https://sindresorhus.com" | ||
}, | ||
@@ -12,0 +13,0 @@ "engines": { |
@@ -1,2 +0,2 @@ | ||
# import-fresh [![Build Status](https://travis-ci.org/sindresorhus/import-fresh.svg?branch=master)](https://travis-ci.org/sindresorhus/import-fresh) | ||
# import-fresh | ||
@@ -7,3 +7,2 @@ > Import a module while bypassing the [cache](https://nodejs.org/api/modules.html#modules_caching) | ||
## Install | ||
@@ -15,3 +14,2 @@ | ||
## Usage | ||
@@ -41,3 +39,2 @@ | ||
## import-fresh for enterprise | ||
@@ -49,3 +46,2 @@ | ||
## Related | ||
@@ -52,0 +48,0 @@ |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
47
4866
49