@enonic-types/lib-common
Advanced tools
Comparing version 7.11.0-B3 to 7.11.0-B4
{ | ||
"name": "@enonic-types/lib-common", | ||
"version": "7.11.0-B3", | ||
"version": "7.11.0-B4", | ||
"description": "Type definitions for lib-common.", | ||
@@ -5,0 +5,0 @@ "types": "common.d.ts", |
@@ -13,16 +13,2 @@ # Enonic XP lib-common TS types | ||
Add the corresponding types to your `tsconfig.json` file that is used for application's server-side TypeScript code. | ||
`tsconfig.json` | ||
```json | ||
{ | ||
"compilerOptions": { | ||
"types": [ | ||
"@enonic-types/lib-common" | ||
] | ||
} | ||
} | ||
``` | ||
### Require and custom imports | ||
@@ -35,8 +21,7 @@ | ||
```diff | ||
```json | ||
{ | ||
"compilerOptions": { | ||
"types": [ | ||
+ "@enonic-types/global" | ||
"@enonic-types/lib-common" | ||
"@enonic-types/global" | ||
] | ||
@@ -63,12 +48,9 @@ } | ||
```diff | ||
```json | ||
{ | ||
"compilerOptions": { | ||
"types": [ | ||
"@enonic-types/lib-common" | ||
] | ||
+ "baseUrl": "./", | ||
+ "paths": { | ||
+ "/lib/xp/common": ["node_modules/@enonic-types/lib-common"], | ||
+ } | ||
"baseUrl": "./", | ||
"paths": { | ||
"/lib/xp/common": ["node_modules/@enonic-types/lib-common"] | ||
} | ||
} | ||
@@ -75,0 +57,0 @@ } |
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
3099
64