lwc 6.2.0 → 6.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/index.d.ts +7 -2
  2. package/package.json +16 -16
package/index.d.ts CHANGED
@@ -107,7 +107,7 @@ declare module 'lwc' {
107
107
  role: string | null;
108
108
  }
109
109
 
110
- // @ts-ignore type-mismatch
110
+ // @ts-expect-error type-mismatch
111
111
  interface ShadowRootTheGoodPart extends NodeSelector {
112
112
  mode: string;
113
113
  readonly activeElement: Element | null;
@@ -207,9 +207,14 @@ declare module 'lwc' {
207
207
  *
208
208
  * in which 'GetRecordConfig' is the adapter config object type and 'RecordRepresentation'
209
209
  * is the returned value.
210
- *
211
210
  * @param adapter the adapter used to provision data
212
211
  * @param config configuration object for the adapter
212
+ * @returns A decorator function
213
+ * @example
214
+ * export default class WireExample extends LightningElement {
215
+ * \@api bookId;
216
+ * \@wire(getBook, { id: '$bookId'}) book;
217
+ * }
213
218
  */
214
219
  export function wire<
215
220
  Config extends StringKeyedRecord,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lwc",
3
- "version": "6.2.0",
3
+ "version": "6.3.0",
4
4
  "description": "Lightning Web Components (LWC)",
5
5
  "homepage": "https://lwc.dev/",
6
6
  "repository": {
@@ -20,21 +20,21 @@
20
20
  "*.d.ts"
21
21
  ],
22
22
  "dependencies": {
23
- "@lwc/aria-reflection": "6.2.0",
24
- "@lwc/babel-plugin-component": "6.2.0",
25
- "@lwc/compiler": "6.2.0",
26
- "@lwc/engine-core": "6.2.0",
27
- "@lwc/engine-dom": "6.2.0",
28
- "@lwc/engine-server": "6.2.0",
29
- "@lwc/errors": "6.2.0",
30
- "@lwc/features": "6.2.0",
31
- "@lwc/module-resolver": "6.2.0",
32
- "@lwc/rollup-plugin": "6.2.0",
33
- "@lwc/shared": "6.2.0",
34
- "@lwc/style-compiler": "6.2.0",
35
- "@lwc/synthetic-shadow": "6.2.0",
36
- "@lwc/template-compiler": "6.2.0",
37
- "@lwc/wire-service": "6.2.0"
23
+ "@lwc/aria-reflection": "6.3.0",
24
+ "@lwc/babel-plugin-component": "6.3.0",
25
+ "@lwc/compiler": "6.3.0",
26
+ "@lwc/engine-core": "6.3.0",
27
+ "@lwc/engine-dom": "6.3.0",
28
+ "@lwc/engine-server": "6.3.0",
29
+ "@lwc/errors": "6.3.0",
30
+ "@lwc/features": "6.3.0",
31
+ "@lwc/module-resolver": "6.3.0",
32
+ "@lwc/rollup-plugin": "6.3.0",
33
+ "@lwc/shared": "6.3.0",
34
+ "@lwc/style-compiler": "6.3.0",
35
+ "@lwc/synthetic-shadow": "6.3.0",
36
+ "@lwc/template-compiler": "6.3.0",
37
+ "@lwc/wire-service": "6.3.0"
38
38
  },
39
39
  "lwc": {
40
40
  "modules": [