feat: init
This commit is contained in:
19
node_modules/is-installed-globally/index.d.ts
generated
vendored
Normal file
19
node_modules/is-installed-globally/index.d.ts
generated
vendored
Normal file
@@ -0,0 +1,19 @@
|
||||
/**
|
||||
Check if your package was installed globally.
|
||||
|
||||
@example
|
||||
```
|
||||
import isInstalledGlobally from 'is-installed-globally';
|
||||
|
||||
// With `npm install your-package`
|
||||
console.log(isInstalledGlobally);
|
||||
//=> false
|
||||
|
||||
// With `npm install --global your-package`
|
||||
console.log(isInstalledGlobally);
|
||||
//=> true
|
||||
```
|
||||
*/
|
||||
declare const isInstalledGlobally: boolean;
|
||||
|
||||
export default isInstalledGlobally;
|
||||
Reference in New Issue
Block a user