@enonic-types/lib-websocket
Advanced tools
Comparing version 7.11.0-B3 to 7.11.0-B4
{ | ||
"name": "@enonic-types/lib-websocket", | ||
"version": "7.11.0-B3", | ||
"version": "7.11.0-B4", | ||
"description": "Type definitions for lib-websocket.", | ||
@@ -5,0 +5,0 @@ "types": "websocket.d.ts", |
@@ -13,16 +13,2 @@ # Enonic XP lib-websocket 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-websocket" | ||
] | ||
} | ||
} | ||
``` | ||
### Require and custom imports | ||
@@ -35,8 +21,7 @@ | ||
```diff | ||
```json | ||
{ | ||
"compilerOptions": { | ||
"types": [ | ||
+ "@enonic-types/global" | ||
"@enonic-types/lib-websocket" | ||
"@enonic-types/global" | ||
] | ||
@@ -63,12 +48,9 @@ } | ||
```diff | ||
```json | ||
{ | ||
"compilerOptions": { | ||
"types": [ | ||
"@enonic-types/lib-websocket" | ||
] | ||
+ "baseUrl": "./", | ||
+ "paths": { | ||
+ "/lib/xp/websocket": ["node_modules/@enonic-types/lib-websocket"], | ||
+ } | ||
"baseUrl": "./", | ||
"paths": { | ||
"/lib/xp/websocket": ["node_modules/@enonic-types/lib-websocket"] | ||
} | ||
} | ||
@@ -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
3701
64